<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0055)http://blog.csdn.net/yixiaoping/article/details/9801397 -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script async="" type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/gpt.js"></script>   
    
     
    <script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/tracking.js" charset="utf-8"></script>  

    <script type="text/javascript">
        var protocol = window.location.protocol;
        document.write('<script type="text/javascript" src="' + protocol + '//csdnimg.cn/pubfooter/js/repoAddr2.js?v=' + Math.random() + '"></' + 'script>');
    </script><script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/repoAddr2.js"></script>

     <script id="allmobilize" charset="utf-8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/allmobilize.min.js"></script><style type="text/css"></style>
 <meta http-equiv="Cache-Control" content="no-siteapp"><link rel="alternate" media="handheld" href="http://blog.csdn.net/yixiaoping/article/details/9801397#">

    <title>H2数据库使用 - yixiaoping的专栏
        - 博客频道 - CSDN.NET</title>
    
    <meta name="description" content="这里演示了加密文本，利用特定字符来定位位置sockdata=PHIDOHBBNIEFMNDIBJLENNEBBODILAEAPMIHHKMKBOKILJOJHGPDDBEOPMCEMLAPJNFDLOJCPHEAMEDNPINODFMBMLFPFHLLGBNPPHEEMNFMNMCGNFEJFKIDOGBECBFJEBICBBLPMNHJAHJPCLNHKKEJMBLLNKFFKMPJJH">
    <script src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ad.js"></script>
        <!--new top-->
       
        <link rel="stylesheet" href="http://static.csdn.net/public/common/toolbar/css/index.css">
        <!--new top-->

    <link rel="Stylesheet" type="text/css" href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/style.css">
    <link id="RSSLink" title="RSS" type="application/rss+xml" rel="alternate" href="http://blog.csdn.net/yixiaoping/rss/list">
    <link rel="shortcut icon" href="http://c.csdnimg.cn/public/favicon.ico">
    <link type="text/css" rel="stylesheet" href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/default.css">
 


<script src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/share.js"></script><link rel="stylesheet" type="text/css" href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/job_reco.css"><script type="text/javascript" charset="utf-8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/main.js"></script><style type="text/css">.MathJax_Hover_Frame {border-radius: .25em; -webkit-border-radius: .25em; -moz-border-radius: .25em; -khtml-border-radius: .25em; box-shadow: 0px 0px 15px #83A; -webkit-box-shadow: 0px 0px 15px #83A; -moz-box-shadow: 0px 0px 15px #83A; -khtml-box-shadow: 0px 0px 15px #83A; border: 1px solid #A6D ! important; display: inline-block; position: absolute}
.MathJax_Hover_Arrow {position: absolute; width: 15px; height: 11px; cursor: pointer}
</style><style type="text/css">#MathJax_About {position: fixed; left: 50%; width: auto; text-align: center; border: 3px outset; padding: 1em 2em; background-color: #DDDDDD; color: black; cursor: default; font-family: message-box; font-size: 120%; font-style: normal; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; z-index: 201; border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px; -khtml-border-radius: 15px; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow: 0px 10px 20px #808080; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
.MathJax_Menu {position: absolute; background-color: white; color: black; width: auto; padding: 2px; border: 1px solid #CCCCCC; margin: 0; cursor: default; font: menu; text-align: left; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; z-index: 201; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow: 0px 10px 20px #808080; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
.MathJax_MenuItem {padding: 2px 2em; background: transparent}
.MathJax_MenuArrow {position: absolute; right: .5em; color: #666666}
.MathJax_MenuActive .MathJax_MenuArrow {color: white}
.MathJax_MenuArrow.RTL {left: .5em; right: auto}
.MathJax_MenuCheck {position: absolute; left: .7em}
.MathJax_MenuCheck.RTL {right: .7em; left: auto}
.MathJax_MenuRadioCheck {position: absolute; left: 1em}
.MathJax_MenuRadioCheck.RTL {right: 1em; left: auto}
.MathJax_MenuLabel {padding: 2px 2em 4px 1.33em; font-style: italic}
.MathJax_MenuRule {border-top: 1px solid #CCCCCC; margin: 4px 1px 0px}
.MathJax_MenuDisabled {color: GrayText}
.MathJax_MenuActive {background-color: Highlight; color: HighlightText}
.MathJax_Menu_Close {position: absolute; width: 31px; height: 31px; top: -15px; left: -15px}
</style><style type="text/css">#MathJax_Zoom {position: absolute; background-color: #F0F0F0; overflow: auto; display: block; z-index: 301; padding: .5em; border: 1px solid black; margin: 0; font-weight: normal; font-style: normal; text-align: left; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; box-shadow: 5px 5px 15px #AAAAAA; -webkit-box-shadow: 5px 5px 15px #AAAAAA; -moz-box-shadow: 5px 5px 15px #AAAAAA; -khtml-box-shadow: 5px 5px 15px #AAAAAA; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
#MathJax_ZoomOverlay {position: absolute; left: 0; top: 0; z-index: 300; display: inline-block; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background-color: white; opacity: 0; filter: alpha(opacity=0)}
#MathJax_ZoomFrame {position: relative; display: inline-block; height: 0; width: 0}
#MathJax_ZoomEventTrap {position: absolute; left: 0; top: 0; z-index: 302; display: inline-block; border: 0; padding: 0; margin: 0; background-color: white; opacity: 0; filter: alpha(opacity=0)}
</style><style type="text/css">.MathJax_Preview {color: #888}
#MathJax_Message {position: fixed; left: 1em; bottom: 1.5em; background-color: #E6E6E6; border: 1px solid #959595; margin: 0px; padding: 2px 8px; z-index: 102; color: black; font-size: 80%; width: auto; white-space: nowrap}
#MathJax_MSIE_Frame {position: absolute; top: 0; left: 0; width: 0px; z-index: 101; border: 0px; margin: 0px; padding: 0px}
.MathJax_Error {color: #CC0000; font-style: italic}
</style><link href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/bdsstyle.css" rel="stylesheet" type="text/css"><script src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/pubads_impl_76.js" async=""></script><script charset="utf-8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/lightapp.js" data-appid="3629560" async="" name="baidu-tc-cerfication"></script><link rel="stylesheet" type="text/css" href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/style(1).css"><link type="text/css" rel="stylesheet" href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/style(2).css"><script src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/logger.js"></script><script src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/navbarapp_api" async="" type="text/javascript" charset="utf-8"></script><script type="text/javascript" charset="utf-8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/helper-utils-moplus-monitor_cccb3ce.js" _md_="_anymoore_http://apps.bdimg.com/cloudaapi/pkg/helper-utils-moplus-monitor_cccb3ce.js"></script><script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/osd.js"></script><script type="text/javascript" charset="utf-8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/push-smartBar_3a0e9b9.js" _md_="_anymoore_http://apps.bdimg.com/cloudaapi/pkg/push-smartBar_3a0e9b9.js"></script><script type="text/javascript" charset="utf-8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/app-socialshare_b5c9f0e.js" _md_="_anymoore_http://apps.bdimg.com/cloudaapi/pkg/app-socialshare_b5c9f0e.js"></script><link rel="stylesheet" href="http://bdimg.share.baidu.com/static/api/css/share_style0_16.css?v=6aba13f0.css"><script type="text/javascript" charset="utf-8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/consult_5b07d2e.js" _md_="_anymoore_http://apps.bdimg.com/cloudaapi/s/consult_5b07d2e.js"></script><script type="text/javascript" charset="utf-8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/account-pay_dd495d7.js" _md_="_anymoore_http://apps.bdimg.com/cloudaapi/pkg/account-pay_dd495d7.js"></script></head>
<body class=" hPC" style="padding-bottom: initial;"><div id="BAIDU_DUP_fp_wrapper" style="position: absolute; left: -1px; bottom: -1px; z-index: 0; width: 0px; height: 0px; overflow: hidden; visibility: hidden; display: none;"><iframe id="BAIDU_DUP_fp_iframe" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/o.html" style="width: 0px; height: 0px; visibility: hidden; display: none;"></iframe></div><div id="MathJax_Message" style="display: none;"></div><iframe frameborder="0" style="display: none;"></iframe>
    
   
      <!--new top-->
    <script id="toolbar-tpl-scriptId" fixed="true" prod="blog" skin="black" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/html.js" type="text/javascript"></script><div class="csdn-toolbar csdn-toolbar-skin-black ">        <div class="container row center-block ">          <div class="col-md-3 pull-left logo clearfix"><a href="http://www.csdn.net/?ref=toolbar" title="CSDN首页" target="_blank" class="icon"></a><a title="频道首页" href="http://blog.csdn.net/?ref=toolbar_logo" class="img blog-icon"></a></div>          <div class="pull-right login-wrap unlogin">            <ul class="btns">              <li class="loginlink"><a href="https://passport.csdn.net/account/login?ref=toolbar" target="_top">登录&nbsp;</a>|<a target="_top" href="http://passport.csdn.net/account/mobileregister?ref=toolbar&action=mobileRegister">&nbsp;注册</a></li>              <li class="search">                <div class="icon on-search-icon">                  <div class="wrap">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                    <form action="http://so.csdn.net/search" method="get" target="_blank">                      <input type="hidden" value="toolbar" name="ref" accesskey="2">                      <div class="border">                        <input placeholder="搜索" type="text" value="" name="q" accesskey="2"><span class="icon-enter-sm"></span>                      </div>                    </form>                  </div>                </div>              </li>              <li class="favor">                <div class="icon on-favor-icon">                  <div class="wrap">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                    <div style="display:none;" class="favor-success"><span class="msg">收藏成功</span>                      <div class="btns"><span class="btn btn-primary ok">确定</span></div>                    </div>                    <div style="display:none;" class="favor-failed"><span class="icon-danger-lg"></span><span class="msg">收藏失败，请重新收藏</span>                      <div class="btns"><span class="btn btn-primary ok">确定</span></div>                    </div>                    <form role="form" class="form-horizontal favor-form">                      <div class="form-group">                        <div class="clearfix">                          <label for="input-title" class="col-sm-2 control-label">标题</label>                          <div class="col-sm-10">                            <input id="inputTitle" type="text" placeholder="" class="title form-control">                          </div>                        </div>                        <div class="alert alert-danger"><strong></strong>标题不能为空</div>                      </div>                      <div class="form-group">                        <label for="input-url" class="col-sm-2 control-label">网址</label>                        <div class="col-sm-10">                          <input id="input-url" type="text" placeholder="" class="url form-control">                        </div>                      </div>                      <div class="form-group">                        <label for="input-tag" class="col-sm-2 tag control-label">标签</label>                        <div class="col-sm-10">                          <input id="input-tag" type="text" class="form-control tag">                        </div>                      </div>                      <div class="form-group">                        <label for="input-description" class="description col-sm-2 control-label">摘要</label>                        <div class="col-sm-10">                          <textarea id="input-description" class="form-control description"></textarea>                        </div>                      </div>                      <div class="form-group">                        <div class="col-sm-offset-2 col-sm-10 ft">                          <div class="col-sm-4 pull-left">                            <div class="checkbox">                              <label>                                <input type="checkbox" name="share" checked="checked" class="share">公开                              </label>                            </div>                          </div>                          <div class="col-sm-8 pull-right favor-btns">                            <button type="button" class="cancel btn btn-default">取消</button>                            <button type="submit" class="submit btn btn-primary">收藏</button>                          </div>                        </div>                      </div>                    </form>                  </div>                </div>              </li>              <li class="notify">                <div style="display:none" class="number"></div>                <div style="display:none" class="icon-hasnotes-sm"></div>                <div id="header_notice_num"></div>                <div class="icon on-notify-icon">                  <div class="wrap">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                    <div id="note1" class="csdn_note">                      <div class="box"></div>                    <iframe src="about:block" frameborder="0" allowtransparency="true" style="z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;background:transparent"></iframe></div>                  </div>                </div>              </li>              <li class="ugc">                <div class="icon on-ugc-icon">                  <div class="wrap clearfix">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                    <dl>                      <dt><a href="http://geek.csdn.net/news/expert?ref=toolbar" target="_blank" class="p-news clearfix" style="display:none;"><em class="icon"></em><span>分享资讯</span></a></dt>                      <dt><a href="http://u.download.csdn.net/upload?ref=toolbar" target="_blank" class="p-doc clearfix"><em class="icon"></em><span>传PPT/文档</span></a></dt>                      <dt><a href="http://bbs.csdn.net/topics/new?ref=toolbar" target="_blank" class="p-ask clearfix"><em class="icon"></em><span>提问题</span></a></dt>                      <dt><a href="http://write.blog.csdn.net/postedit?ref=toolbar" target="_blank" class="p-blog clearfix"><em class="icon"></em><span>写博客</span></a></dt>                      <dt><a href="http://u.download.csdn.net/upload?ref=toolbar" target="_blank" class="p-src clearfix"><em class="icon"></em><span>传资源</span></a></dt>                      <dt><a href="https://code.csdn.net/projects/new?ref=toolbar" target="_blank" class="c-obj clearfix"><em class="icon"></em><span>创建项目</span></a></dt>                      <dt><a href="https://code.csdn.net/snippets/new?ref=toolbar" target="_blank" class="c-code clearfix"><em class="icon"></em><span>创建代码片</span></a></dt>                    </dl>                  </div>                </div>              </li>              <li class="profile">                <div class="icon on-profile-icon"><img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/100x100.jpg" class="curr-icon-img">                  <div class="wrap clearfix">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                    <div class="bd">                      <dl class="clearfix">                        <dt class="pull-left img"><a target="_blank" href="http://my.csdn.net/?ref=toolbar" class="avatar"><img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/100x100.jpg"></a></dt>                        <dd class="info" style="border: none;"><a target="_blank" href="http://my.csdn.net/?ref=toolbar" class="nickname"></a><a class="set-nick" href="https://passport.csdn.net/account/profile">设置昵称<span class="write-icon"></span></a><span class="dec"><a class="fill-dec" href="http://my.csdn.net/" target="_blank">编辑自我介绍，让更多人了解你<span class="write-icon"></span></a></span></dd>                      </dl>                    </div>                    <div class="ft clearfix"><a target="_blank" href="http://my.csdn.net/my/account/changepwd?ref=toolbar" class="pull-left"><span class="icon-cog"></span>帐号设置</a><a href="https://passport.csdn.net/account/logout?ref=toolbar" target="_top" class="pull-left" style="margin-left:132px; width:18px; height:27px; white-space:nowrap; overflow:hidden;"><span class="icon-signout"></span><span class="out">退出</span></a></div>                  </div>                </div>              </li>              <li class="apps">                <div id="chasnew123" class="hasnew" style="display: none;"></div>                <div id="cappsarea123" class="icon on-apps-icon">                  <div class="wrap clearfix">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                  <div class="detail">                    <dl>                      <dt>                        <h5>社区</h5>                      </dt>                      <dd> <a href="http://blog.csdn.net/?ref=toolbar" target="_blank">博客</a></dd>                      <dd> <a href="http://bbs.csdn.net/?ref=toolbar" target="_blank">论坛</a></dd>                      <dd> <a href="http://download.csdn.net/?ref=toolbar" target="_blank">下载</a></dd>                      <dd><a href="http://ask.csdn.net/?ref=toolbar" target="_blank">技术问答</a></dd>                      <dd><a href="http://geek.csdn.net/?ref=toolbar" target="_blank">极客头条</a></dd>                      <dd style="display:none"> <a href="http://hero.csdn.net/?ref=toolbar" target="_blank">英雄会</a></dd>                    </dl>                  </div>                  <div class="detail">                    <dl>                      <dt>                        <h5>服务</h5>                      </dt>                      <dd style="display:none"> <a href="http://job.csdn.net/?ref=toolbar" target="_blank">JOB<img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/new.gif" style="display: none; margin-top: -26px; width: 23px;"></a></dd>                      <dd> <a href="http://edu.csdn.net/?ref=toolbar" target="_blank">学院<img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/new.gif" style="display: none; margin-top: -26px; width: 23px;"></a></dd>                      <dd> <a href="https://code.csdn.net/?ref=toolbar" target="_blank">CODE</a></dd>                      <dd> <a href="http://huiyi.csdn.net/?ref=toolbar" target="_blank">活动</a></dd>                      <dd> <a href="http://www.csto.com/?ref=toolbar" target="_blank">CSTO</a></dd>                      <dd> <a href="http://mall.csdn.net/?ref=toolbar" target="_blank">C币兑换<img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/new.gif" style="display: none; margin-top: -26px; width: 23px;"></a></dd>                    </dl>                  </div>                  <div class="detail last">                    <dl>                      <dt>                        <h5>俱乐部</h5>                      </dt>                      <dd> <a href="http://cto.csdn.net/?ref=toolbar" target="_blank">CTO俱乐部</a></dd>                      <dd> <a href="http://student.csdn.net/?ref=toolbar" target="_blank">高校俱乐部</a></dd>                    </dl>                  </div>                </div>              </div>            </li>            </ul>          </div>        </div>    </div>
     <!--new top-->
    <div id="container">
        <div id="header">
    <div class="header">
        <div id="blog_title">
            <h2>
                <a href="http://blog.csdn.net/yixiaoping">yixiaoping的专栏</a></h2>
            <h3></h3>
            <div class="clear">
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
</div>
<div id="navigator">
    <div class="navigator_bg">
    </div>
    <div class="navigator">
        <ul>
            
                <li id="btnContents"><a href="http://blog.csdn.net/yixiaoping?viewmode=contents"><span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_mulu&#39;])">
                    <img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ico_list.gif">目录视图</span></a></li>
                <li id="btnView"><a href="http://blog.csdn.net/yixiaoping?viewmode=list"><span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_zhaiyao&#39;])">
                    <img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ico_summary.gif">摘要视图</span></a></li>
                <li id="btnRss"><a href="http://blog.csdn.net/yixiaoping/rss/list"><span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_RSS&#39;])">
                    <img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ico_rss.gif">订阅</span></a></li>                

            </ul>
    </div>
</div>
<script type="text/javascript">
    var username = "yixiaoping";
    var _blogger = username;
    var blog_address = "http://blog.csdn.net/yixiaoping";
    var static_host = "http://static.blog.csdn.net";
    var currentUserName = "";  
</script>

        <div id="body">
            <div id="main">
                <div class="main">
                        <div class="ad_class">
<div class="notice tracking-ad" data-mod="popu_3"> 

<a href="http://edu.csdn.net/app" target="_blank">
<font color="red">学院APP首次下载，可得50C币！
</font></a>
&nbsp;&nbsp;&nbsp;

<a href="http://blog.csdn.net/blogdevteam/article/details/49906523" target="_blank">
<font color="blue">云服务器使用初体验获奖通知 
</font></a>
&nbsp;&nbsp;&nbsp;
<a href="http://edu.csdn.net/huiyiCourse/index" target="_blank">
<font color="red">免费学技术，就是如此任性
</font></a>
&nbsp;&nbsp;&nbsp;
<a href="http://bbs.csdn.net/topics/391868869" target="_blank">
<font color="blue">CSDN诚征代码英才
</font></a>
</div>                        </div>
                        

<!--AdForward Begin:-->
<script type="text/javascript" ads-src="http://csdnim.qtmojo.com/main/s?user=csdn|blog|fumeiti&amp;db=csdnim&amp;border=0&amp;local=yes&amp;js=ie" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/AllyesDeliver.min.js" charset="gbk" id="allyes_ins_5414dc7c" ads-outputs="0" ads-tid="d2b7eb33_0"></script><div id="d2b7eb33_0" style="padding:0;margin:0;border:0;"><script type="text/javascript" data-belong="allyes" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/s"></script><script type="text/javascript">
    /*博客内页 右下角弹窗 300*250 创建于 2015-11-09*/
var cpro_id = "u2392861";
</script>
<script src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/f.js" type="text/javascript"></script><div id="BAIDU_DUP_wrapper_u2392861_0"></div><script charset="utf-8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/acom"></script><script type="text/javascript" data-belong="allyes" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/delay.min.js"></script><script type="text/javascript" data-belong="allyes" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/delay.min.js"></script><script type="text/javascript" data-belong="allyes" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/delay.min.js"></script><script type="text/javascript" data-belong="allyes" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/delay.min.js"></script><script type="text/javascript" data-belong="allyes" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/delay.min.js"></script></div>
<!--AdForward End-->

  
<link href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/comment1.css" type="text/css" rel="stylesheet">
<link href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/style1.css" type="text/css" rel="stylesheet">
<script language="JavaScript" type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/jquery.cookie.js"></script>
<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/main(1).js"></script>
<link rel="stylesheet" href="http://static.blog.csdn.net/public/res-min/markdown_views.css?v=1.0">
<link rel="stylesheet" href="http://static.blog.csdn.net/css/category.css?v=1.0">
<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/MathJax.js"></script>

  <script type="text/ecmascript">
      window.quickReplyflag = true;
           
            var isBole = false;
            
          
    </script>
<div id="article_details" class="details">
    <div class="article_title">   
         <span class="ico ico_type_Repost"></span>


    <h1>
        <span class="link_title"><a href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET.html">
        H2数据库使用            
        </a></span>
    </h1>
</div>

   

        <div class="article_manage clearfix">
        <div class="article_l">
            <span class="link_categories">
            标签：
              <a href="http://www.csdn.net/tag/H2%20DATABASE%20%e5%86%85%e5%ad%98%e6%95%b0%e6%8d%ae%e5%ba%93" target="_blank" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_tag&#39;]);">H2 DATABASE 内存数据库</a>
            </span>
        </div>
        <div class="article_r">
            <span class="link_postdate">2013-08-07 00:18</span>
            <span class="link_view" title="阅读次数">40171人阅读</span>
            <span class="link_comments" title="评论次数"> <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#comments" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_pinglun&#39;])">评论</a>(4)</span>
            <span class="link_collect"> <a href="javascript:void(0);" onclick="javascript:collectArticle(&#39;H2数据库使用&#39;,&#39;9801397&#39;);return false;" title="收藏">收藏</a></span>
             <span class="link_report"> <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#report" onclick="javascript:report(9801397,2);return false;" title="举报">举报</a></span>

        </div>
    </div>
      <div class="category clearfix">
        <div class="category_l">
           <img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/category_icon.jpg">
            <span>分类：</span>
        </div>
        <div class="category_r">
                    <label onclick="GetCategoryArticles(&#39;1546197&#39;,&#39;yixiaoping&#39;,&#39;top&#39;,&#39;9801397&#39;);">
                        <span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_fenlei&#39;]);">H2 Database<em>（1）</em></span>
                      <img class="arrow-down" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/arrow_triangle _down.jpg" style="display:inline;">
                      <img class="arrow-up" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/arrow_triangle_up.jpg" style="display:none;">
                        <div class="subItem">
                            <div class="subItem_t"><a href="http://blog.csdn.net/yixiaoping/article/category/1546197">作者同类文章</a><i class="J_close">X</i></div>
                            <ul class="subItem_l" id="top_1546197">                            
                            </ul>
                        </div>
                    </label>                    
        </div>
    </div>
    <script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/category.js"></script>  

  

  
  
     

<div style="clear:both"></div><div style="border:solid 1px #ccc; background:#eee; float:left; min-width:200px;padding:4px 10px;"><p style="text-align:right;margin:0;"><span style="float:left;">目录<a href="http://blog.csdn.net/yixiaoping/article/details/9801397#" title="系统根据文章中H1到H6标签自动生成文章目录">(?)</a></span><a href="http://blog.csdn.net/yixiaoping/article/details/9801397#" onclick="javascript:return openct(this);" title="展开">[+]</a></p><ol style="display:none;margin-left:14px;padding-left:14px;line-height:160%;"><li><a href="http://blog.csdn.net/yixiaoping/article/details/9801397#t0">

</a></li><li><a href="http://blog.csdn.net/yixiaoping/article/details/9801397#t1">
H2最完整的资料下载地址</a></li><li><a href="http://blog.csdn.net/yixiaoping/article/details/9801397#t2">
httpdownloadcsdnnetdetailyixiaoping5956595</a></li><li><a href="http://blog.csdn.net/yixiaoping/article/details/9801397#t3">
H2数据库使用</a></li></ol></div><div style="clear:both"></div><div id="article_content" class="article_content">

<h2 class="title" style="margin:0px; padding:2px 10px; border-width:0px 0px 1px; border-bottom-style:solid; border-bottom-color:rgb(250,250,250); vertical-align:baseline; line-height:26px; color:rgb(51,68,85); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)"><a name="t0"></a>
<span style="font-size:24px"><br>
</span></h2>
<h2 class="title" style="margin:0px; padding:2px 10px; border-width:0px 0px 1px; border-bottom-style:solid; border-bottom-color:rgb(250,250,250); vertical-align:baseline; line-height:26px; color:rgb(51,68,85); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)"><a name="t1"></a>
<span style="font-size:24px">H2最完整的资料下载地址</span><span style="font-size:24px">：</span></h2>
<h2 class="title" style="margin:0px; padding:2px 10px; border-width:0px 0px 1px; border-bottom-style:solid; border-bottom-color:rgb(250,250,250); vertical-align:baseline; line-height:26px; color:rgb(51,68,85); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)"><a name="t2"></a>
<a target="_blank" href="http://download.csdn.net/detail/yixiaoping/5956595" style="font-size:24px">http://download.csdn.net/detail/yixiaoping/5956595</a></h2>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<h2 class="title" style="margin:0px; padding:2px 10px; border-width:0px 0px 1px; border-bottom-style:solid; border-bottom-color:rgb(250,250,250); font-size:16px; vertical-align:baseline; line-height:26px; color:rgb(51,68,85); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)"><a name="t3"></a>
H2数据库使用</h2>
<div><br>
</div>
<div>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline">H2数据库介绍</span></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
常用的开源数据库：H2，Derby，HSQLDB，MySQL，PostgreSQL。其中H2，HSQLDB类似，十分适合作为嵌入式数据库使用，其它的数据库大部分都需要安装独立的客户端和服务器端。<br style="margin:0px; padding:0px">
H2的优势：<br style="margin:0px; padding:0px">
1、h2采用纯Java编写，因此不受平台的限制。<br style="margin:0px; padding:0px">
2、h2只有一个jar文件，十分适合作为嵌入式数据库试用。<br style="margin:0px; padding:0px">
3、性能和功能的优势</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
H2比HSQLDB的最大的优势就是h2提供了一个十分方便的web控制台用于操作和管理数据库内容，这点比起HSQLDB的swing和awt控制台实在好用多了。</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
H2和各数据库特征比较。<br style="margin:0px; padding:0px">
<a target="_blank" href="http://www.lifeba.org/wp-content/uploads/2011/04/lifeba.org_database_h2_2.jpg" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none"><img class="alignnone size-medium wp-image-294" title="lifeba.org_database_h2_2" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/lifeba.org_database_h2_2-300x118.jpg" alt="" width="300" height="118" style="margin:10px 0px; padding:4px; border:1px solid rgb(221,221,221); vertical-align:baseline; max-width:610px; height:auto; background-color:rgb(255,255,255)"></a></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline">准备工作</span></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline">&nbsp;</span><br style="margin:0px; padding:0px">
1、h2-2011-04-04.zip&nbsp; 下载地址：<a target="_blank" href="http://www.h2database.com/html/download.html" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none">http://www.h2database.com/html/download.html</a><br style="margin:0px; padding:0px">
2、解压文件，这里以%H2_HOME%表示为解压的文件目录。运行%H2_HOME%\bin\h2.bat 将会自动打开下面网址。(请确认是否安装了jdk，并设置了JAVA_HOME环境变量)<br style="margin:0px; padding:0px">
<a target="_blank" href="http://192.168.140.1:8082/login.jsp?jsessionid=244e36a683f97f0d4f3b000f33530ed1" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none">http://192.168.140.1:8082/login.jsp?jsessionid=244e36a683f97f0d4f3b000f33530ed1</a></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<a target="_blank" href="http://www.lifeba.org/wp-content/uploads/2011/04/lifeba.org_database_h2_1.jpg" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none"><img class="alignnone size-medium wp-image-290" title="lifeba.org_database_h2_1" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/lifeba.org_database_h2_1-300x248.jpg" alt="" width="300" height="248" style="margin:10px 0px; padding:4px; border:1px solid rgb(221,221,221); vertical-align:baseline; max-width:610px; height:auto; background-color:rgb(255,255,255)"></a></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<span id="more-289" style="margin:0px; padding:0px; border:0px; vertical-align:baseline"></span>3、点击 connect ，登录。</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<a target="_blank" href="http://www.lifeba.org/wp-content/uploads/2011/04/lifeba.org_database_h2_3.jpg" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none"><img class="alignnone size-medium wp-image-291" title="lifeba.org_database_h2_3" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/lifeba.org_database_h2_3-300x245.jpg" alt="" width="300" height="245" style="margin:10px 0px; padding:4px; border:1px solid rgb(221,221,221); vertical-align:baseline; max-width:610px; height:auto; background-color:rgb(255,255,255)"></a></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
4、执行上图中红色部分sql语句，成功创建test表。</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<a target="_blank" href="http://www.lifeba.org/wp-content/uploads/2011/04/lifeba.org_database_h2_4.jpg" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none"><img class="alignnone size-medium wp-image-292" title="lifeba.org_database_h2_4" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/lifeba.org_database_h2_4-300x242.jpg" alt="" width="300" height="242" style="margin:10px 0px; padding:4px; border:1px solid rgb(221,221,221); vertical-align:baseline; max-width:610px; height:auto; background-color:rgb(255,255,255)"></a></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
因为没有指定数据库文件位置，会自动输出到输出到C:\Users\Administrator下。</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<a target="_blank" href="http://www.lifeba.org/wp-content/uploads/2011/04/lifeba.org_database_h2_5.jpg" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none"><img class="alignnone size-medium wp-image-293" title="lifeba.org_database_h2_5" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/lifeba.org_database_h2_5-300x35.jpg" alt="" width="300" height="35" style="margin:10px 0px; padding:4px; border:1px solid rgb(221,221,221); vertical-align:baseline; max-width:610px; height:auto; background-color:rgb(255,255,255)"></a></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline">H2文件结构</span></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline">&nbsp;</span><br style="margin:0px; padding:0px">
%H2_HOME%<br style="margin:0px; padding:0px">
-h2<br style="margin:0px; padding:0px">
&nbsp; -bin<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp; h2-1.3.154.jar //jar包<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp; h2.bat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Windows控制台启动脚本<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp; h2.sh&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Linux控制台启动脚本<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp; h2w.bat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Windows控制台启动脚本（不带黑屏窗口）<br style="margin:0px; padding:0px">
&nbsp; +docs 帮助文档<br style="margin:0px; padding:0px">
&nbsp; +service //通过wrapper包装成服务。<br style="margin:0px; padding:0px">
&nbsp; +src&nbsp; //源代码<br style="margin:0px; padding:0px">
&nbsp; build.bat&nbsp; windows构建脚本<br style="margin:0px; padding:0px">
&nbsp; build.sh&nbsp;&nbsp; linux构建脚本</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline">H2的使用<br style="margin:0px; padding:0px">
</span>支持Embedded，server和in-memory模式以及内存模式。<br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(153,51,0)">Embedded模式</span></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
1、新建java project工程 H2Test。</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<a target="_blank" href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/lifeba.org_database_h2_9.jpg" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none"><img class="alignnone size-full wp-image-296" title="lifeba.org_database_h2_9" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/lifeba.org_database_h2_9.jpg" alt="" width="234" height="285" style="margin:10px 0px; padding:4px; border:1px solid rgb(221,221,221); vertical-align:baseline; max-width:610px; height:auto; background-color:rgb(255,255,255)"></a></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<a target="_blank" href="http://www.lifeba.org/wp-content/uploads/2011/04/lifeba.org_database_h2_8.jpg" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none"></a>&nbsp;</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
2、%H2_HOME%\bin\h2-1.3.154.jar 复制到 \H2Test\lib下，并加入工程引用。<br style="margin:0px; padding:0px">
3、新建Generic H2 (Embedded)数据库，指定：JDBC&nbsp;<a target="_blank" href="" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none">URL:jdbc:h2:E:\research\workspace\H2Test\db\test</a>，然后执行上面的test sql语句，来创建一个test表。</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<a target="_blank" href="http://www.lifeba.org/wp-content/uploads/2011/04/lifeba.org_database_h2_6.jpg" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none"><img class="alignnone size-medium wp-image-297" title="lifeba.org_database_h2_6" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/lifeba.org_database_h2_6-300x225.jpg" alt="" width="300" height="225" style="margin:10px 0px; padding:4px; border:1px solid rgb(221,221,221); vertical-align:baseline; max-width:610px; height:auto; background-color:rgb(255,255,255)"></a></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
4、新建 TestH2类 主要代码</p>
<blockquote style="margin:0px 0px 20px; padding:10px; border:1px solid rgb(221,221,221); font-size:13px; vertical-align:baseline; color:rgb(85,85,85); background-color:rgb(238,238,238); font-family:Tahoma,Arial,Helvetica,sans-serif">
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; vertical-align:baseline; line-height:18px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">public static void main(String[] a)</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; throws Exception {</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;&nbsp; Class.forName("org.h2.Driver");</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;&nbsp; Connection conn = DriverManager.</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; getConnection("jdbc:h2:E:\\research\\workspace\\H2Test\\db\\test", "sa", "");</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;&nbsp; // add application code here</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;&nbsp; Statement stmt = conn.createStatement();</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;&nbsp; ResultSet rs = stmt.executeQuery("SELECT * FROM TEST ");&nbsp;&nbsp;&nbsp;</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while(rs.next()) {&nbsp;&nbsp;&nbsp;</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; System.out.println(rs.getInt("ID")+","+rs.getString("NAME"));</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;&nbsp; conn.close();</span><br style="margin:0px; padding:0px">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(0,0,0)">&nbsp;}</span></p>
</blockquote>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
&nbsp;<br style="margin:0px; padding:0px">
控制台打印出：1,Hi<br style="margin:0px; padding:0px">
<a target="_blank" href="http://www.lifeba.org/wp-content/uploads/2011/04/lifeba.org_database_h2_7.jpg" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(51,51,51); outline:none"><img class="alignnone size-medium wp-image-298" title="lifeba.org_database_h2_7" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/lifeba.org_database_h2_7-300x200.jpg" alt="" width="300" height="200" style="margin:10px 0px; padding:4px; border:1px solid rgb(221,221,221); vertical-align:baseline; max-width:610px; height:auto; background-color:rgb(255,255,255)"></a></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(153,51,0)">server模式</span></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
1、直接将jdbc url 改为：jdbc:h2:tcp://localhost/~/test&nbsp; 就行了。因为我们在上面第一步的时候已经在C:\Users\Administrator创建了test数据库。<br style="margin:0px; padding:0px">
你也可以再创建新的数据库，默认都是保存在C:\Users\Administrator下的。<br style="margin:0px; padding:0px">
注意：你必须启动服务：%H2_HOME%\bin\h2.bat 或者 以服务模式启动：%H2_HOME%\service\0_run_server_debug.bat ，里面有好几个脚本把H2部署为服务模式。每次机器启动后自动启动H2服务。<br style="margin:0px; padding:0px">
2、新建 TestServerH2类 主要代码</p>
<blockquote style="margin:0px 0px 20px; padding:10px; border:1px solid rgb(221,221,221); font-size:13px; vertical-align:baseline; color:rgb(85,85,85); background-color:rgb(238,238,238); font-family:Tahoma,Arial,Helvetica,sans-serif">
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; vertical-align:baseline; line-height:18px">
public static void main(String[] a)<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp; throws Exception {<br style="margin:0px; padding:0px">
&nbsp;&nbsp; Class.forName("org.h2.Driver");<br style="margin:0px; padding:0px">
&nbsp;&nbsp; Connection conn = DriverManager.<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; getConnection("jdbc:h2:tcp://localhost/~/test", "sa", "");<br style="margin:0px; padding:0px">
&nbsp;&nbsp; // add application code here<br style="margin:0px; padding:0px">
&nbsp;&nbsp; Statement stmt = conn.createStatement();<br style="margin:0px; padding:0px">
&nbsp;&nbsp; ResultSet rs = stmt.executeQuery("SELECT * FROM TEST ");&nbsp;&nbsp;&nbsp;<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp; while(rs.next()) {&nbsp;&nbsp;&nbsp;<br style="margin:0px; padding:0px">
&nbsp; &nbsp;&nbsp; System.out.println(rs.getInt("ID")+","+rs.getString("NAME"));<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp; }<br style="margin:0px; padding:0px">
&nbsp;&nbsp; conn.close();<br style="margin:0px; padding:0px">
&nbsp;}</p>
</blockquote>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
运行的结果和上面一样。</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(153,51,0)">内存模式</span>（数据只保存在内存中）</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
1、新建 TestMemH2类 主要代码</p>
<blockquote style="margin:0px 0px 20px; padding:10px; border:1px solid rgb(221,221,221); font-size:13px; vertical-align:baseline; color:rgb(85,85,85); background-color:rgb(238,238,238); font-family:Tahoma,Arial,Helvetica,sans-serif">
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; vertical-align:baseline; line-height:18px">
public static void main(String[] a)<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp; throws Exception {<br style="margin:0px; padding:0px">
&nbsp;&nbsp; Class.forName("org.h2.Driver");<br style="margin:0px; padding:0px">
&nbsp;&nbsp; Connection conn = DriverManager.<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; getConnection("jdbc:h2:tcp://localhost/mem:test2", "sa", "");<br style="margin:0px; padding:0px">
&nbsp;&nbsp; // add application code here<br style="margin:0px; padding:0px">
&nbsp;&nbsp; Statement stmt = conn.createStatement();<br style="margin:0px; padding:0px">
&nbsp;&nbsp;<br style="margin:0px; padding:0px">
&nbsp;&nbsp; stmt.executeUpdate("CREATE TABLE TEST_MEM(ID INT PRIMARY KEY,NAME VARCHAR(255));");<br style="margin:0px; padding:0px">
&nbsp;&nbsp; stmt.executeUpdate("INSERT INTO TEST_MEM VALUES(1, 'Hello_Mem');");<br style="margin:0px; padding:0px">
&nbsp;&nbsp; ResultSet rs = stmt.executeQuery("SELECT * FROM TEST_MEM");&nbsp;&nbsp;&nbsp;<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp; while(rs.next()) {&nbsp;&nbsp;&nbsp;<br style="margin:0px; padding:0px">
&nbsp; &nbsp;&nbsp; System.out.println(rs.getInt("ID")+","+rs.getString("NAME"));<br style="margin:0px; padding:0px">
&nbsp;&nbsp;&nbsp; }<br style="margin:0px; padding:0px">
&nbsp;&nbsp; conn.close();<br style="margin:0px; padding:0px">
&nbsp;}</p>
</blockquote>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
控制台打印出：1,Hello_Mem</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<a target="_blank" href="http://www.lifeba.org/wp-content/uploads/2011/04/lifeba.org_database_h2_8.jpg" style="margin:0px; padding:0px; border:0px; vertical-align:baseline; color:rgb(74,99,15); text-decoration:none; outline:none"><img title="lifeba.org_database_h2_8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/lifeba.org_database_h2_8-300x98.jpg" alt="" width="300" height="98" style="margin:10px 0px; padding:4px; border:1px solid rgb(221,221,221); vertical-align:baseline; max-width:610px; height:auto; background-color:rgb(255,255,255)"></a></p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
</p>
<p><strong>集群 / 高可用性</strong></p>
<p>数据库支持简单的集群/高可用性机制。架构是：两个数据库服务运行在两台不同的计算机上，两台计算机有同样数据库的副本，如果两个服务器都处于运行状态，每个数据库操作都被在两台计算机上执行，如果一台服务器宕机（断电、硬件故障、网络故障等），另外一台计算机仍能提供服务，从这一刻开始，数据库操作仅在一台服务器上执行，直到另外一台服务器恢复运行。</p>
<p>集群仅能用于服务器模式（内嵌模式并不支持集群）。可以在数据库运行状态下恢复集群<span style="background:yellow">，但是要求在第二个数据库恢复期间没有应用在改变第一个数据库的数据，因此恢复集群是一个手工的过程。</span></p>
<p>初始化集群，使用下面的步骤：</p>
<p align="left">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;创建数据库</p>
<p align="left">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;使用CreateCluster工具创建一个数据库福分到另外的地方，并且初始化集群，这样就得到了同样数据的两个数据库</p>
<p align="left">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;启动两个数据库服务（每个数据库的副本）</p>
<p align="left">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;现在可以通过应用客户端连接到数据库</p>
<p><strong>使用创建集群工具</strong></p>
<p>要了解集群如何工作，请尝试下面的例子，在这个例子里，两个数据库驻留在同一台计算机上，但通常，两个数据库在不同的计算机上。</p>
<p align="left">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;创建两个目录：server1,server2。每个目录将模拟一台计算机</p>
<p align="left">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在第一个目录启动TCP服务，你可以运行下面的命令：</p>
<p style="background:#ECE9D8">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; java org.h2.tools.Server</p>
<p style="background:#ECE9D8">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;-tcp-tcpPort 9101</p>
<p style="background:#ECE9D8">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;-baseDirserver1</p>
<p align="left">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在第二个目录启动TCP服务，模拟第二个服务器（冗余运行），你能使用下面的命令：</p>
<p style="background:#ECE9D8">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; java org.h2.tools.Server</p>
<p style="background:#ECE9D8">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;-tcp-tcpPort 9102</p>
<p style="background:#ECE9D8">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;-baseDirserver2</p>
<p align="left">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;使用 CreateCluster 工具初始化集群，如果数据库不存在，将创建一个新的空数据库，运行下面命令行：</p>
<p style="background:#ECE9D8">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; java org.h2.tools.CreateCluster</p>
<p style="background:#ECE9D8">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;-urlSourcejdbc:h2:tcp://localhost:9101/~/test</p>
<p style="background:#ECE9D8">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;-urlTargetjdbc:h2:tcp://localhost:9102/~/test</p>
<p style="background:#ECE9D8">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;-user sa</p>
<p style="background:#ECE9D8">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;-serverList localhost:9101,localhost:9102</p>
<p align="left">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;应用或者是H2控制台可以通过下面的JDBC的URL连接数据库：jdbc:h2:tcp://localhost:9101,localhost:9102/~/test</p>
<p align="left">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果你停止一个服务（通过杀进程），你注意到另一个机器继续工作，数据库仍能提供访问。</p>
<p align="left">·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;恢复集群，你需要先删掉宕机的数据库，然后重启宕机的数据库的服务，再重新运行CreateCluster集群工具。</p>
<p><strong>检测运行状态下的集群</strong></p>
<p>查找哪些节点当前正在运行，通过执行下面的SQL语句：</p>
<p style="background:#ECE9D8">SELECT VALUE FROM INFORMATION_SCHEMA.SETTINGS WHERENAME='CLUSTER'</p>
<p>结果返回为 '' （两个单引号），说明集群模式被屏蔽，否则，集群服务器列表将被单引号包括着返回，如'server1:9191,server2:9191'。</p>
<br>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
2、上面的 URL 改为 jdbc:h2:~/mem:test 也是可以的。如果是localhost必须启动服务。</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<span style="margin:0px; padding:0px; border:0px; vertical-align:baseline"></span></p>
<p><strong>数据库连接 URL说明</strong></p>
<p><br>
</p>
<p>数据库支持多种连接模式和连接设置，不同的连接模式和连接设置是通过不同的URL来区分的，URL中的设置是不区分大小写。</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="background:#ECE9D8">
<p>Topic</p>
</td>
<td style="background:#ECE9D8">
<p>URL Format and Examples</p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#embedded_databases"><span style="color:blue">嵌入式（本地）连接</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:[file:][&lt;path&gt;]&lt;databaseName&gt;</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:~/test</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:file:/data/sample</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:file:C:/data/sample (Windows only)</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#in_memory_databases"><span style="color:blue">内存数据库（私有）</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:mem:</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#in_memory_databases"><span style="color:blue">内存数据库（被命名）</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:mem:&lt;databaseName&gt;</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:mem:test_mem</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/tutorial.html#using_server"></a><a target="_blank" href="http://www.h2database.com/html/tutorial.html#using_server"><span style="color:blue">使用</span></a></span><span style="color:blue">TCP/I</span><a target="_blank" href="http://www.h2database.com/html/tutorial.html#using_server"><span style="color:blue">P</span></a><a target="_blank" href="http://www.h2database.com/html/tutorial.html#using_server"><span style="color:blue">的服务器模式（远程连接）</span></a></u></p>
<p style="background:white"><span style="background:white">&nbsp;</span></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:tcp://&lt;server&gt;[:&lt;port&gt;]/[&lt;path&gt;]&lt;databaseName&gt;</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:tcp://localhost/~/test</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:tcp://dbserv:8084/~/sample</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/advanced.html#ssl_tls_connections"><span style="color:blue">使用</span></a></span><a target="_blank" href="http://www.h2database.com/html/advanced.html#ssl_tls_connections"><span style="color:blue">SSL/TLS</span></a><a target="_blank" href="http://www.h2database.com/html/advanced.html#ssl_tls_connections"><span style="color:blue">的服务器模式（远程连接）</span></a></u></p>
<p style="background:white"><span style="background:white">&nbsp;</span></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:ssl://&lt;server&gt;[:&lt;port&gt;]/&lt;databaseName&gt;</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:ssl://secureserv:8085/~/sample;</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#file_encryption"><span style="color:blue">使用加密文件</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;CIPHER=[AES|XTEA]</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:ssl://secureserv/~/testdb;CIPHER=AES</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:file:~/secure;CIPHER=XTEA</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#database_file_locking"><span style="color:blue">文件锁</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;FILE_LOCK={NO|FILE|SOCKET}</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:file:~/quickAndDirty;FILE_LOCK=NO</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:file:~/private;CIPHER=XTEA;FILE_LOCK=SOCKET</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#database_only_if_exists"><span style="color:blue">仅打开存在的数据库</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;IFEXISTS=TRUE</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:file:~/sample;IFEXISTS=TRUE</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#do_not_close_on_exit"><span style="color:blue">当虚拟机退出时并不关闭数据库</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;DB_CLOSE_ON_EXIT=FALSE</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#passwords"><span style="color:blue">用户名和密码</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;[;USER=&lt;username&gt;][;PASSWORD=&lt;value&gt;]</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:file:~/sample;USER=sa;PASSWORD=123</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#log_index_changes"><span style="color:blue">更新记入索引</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;LOG=2</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:file:~/sample;LOG=2</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#trace_options"><span style="color:blue">调试跟踪项设置</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;TRACE_LEVEL_FILE=&lt;level 0..3&gt;</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:file:~/sample;TRACE_LEVEL_FILE=3</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#ignore_unknown_settings"><span style="color:blue">忽略位置参数设置</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;IGNORE_UNKNOWN_SETTINGS=TRUE</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#custom_access_mode"><span style="color:blue">指定文件读写模式</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;ACCESS_MODE_LOG=rws;ACCESS_MODE_DATA=rws</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#database_in_zip"><span style="color:blue">在</span></a></span><span style="color:blue">Zip</span><span style="color:blue">文件中的数据库</span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:zip:&lt;zipFileName&gt;!/&lt;databaseName&gt;</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:zip:~/db.zip!/test</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#compatibility"><span style="color:blue">兼容模式</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;MODE=&lt;databaseType&gt;</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:~/test;MODE=MYSQL</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#auto_reconnect"><span style="color:blue">自动重连接</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;AUTO_RECONNECT=TRUE</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:tcp://localhost/~/test;AUTO_RECONNECT=TRUE</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#auto_mixed_mode"><span style="color:blue">自动混合模式</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;AUTO_SERVER=TRUE</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:~/test;AUTO_SERVER=TRUE</span></p>
</td>
</tr>
<tr>
<td valign="top" style="background:white">
<p style="background:white"><u><span style="color:blue; background:white"><a target="_blank" href="http://www.h2database.com/html/features.html#other_settings"><span style="color:blue">更改其他设置</span></a></span></u></p>
</td>
<td valign="top" style="background:white">
<p style="background:white"><span style="background:white">jdbc:h2:&lt;url&gt;;&lt;setting&gt;=&lt;value&gt;[;&lt;setting&gt;=&lt;value&gt;...]</span><span style="background:white"><br>
</span><span style="background:white">jdbc:h2:file:~/sample;TRACE_LEVEL_SYSTEM_OUT=3</span></p>
</td>
</tr>
</tbody>
</table>
<p style="margin-top:0px; margin-bottom:18px; padding-top:0px; padding-bottom:0px; border:0px; font-size:13px; vertical-align:baseline; line-height:18px; color:rgb(51,51,51); font-family:Tahoma,Arial,Helvetica,sans-serif; background-color:rgb(247,247,247)">
<br>
</p>
</div>
   
</div>




<!-- Baidu Button BEGIN -->




<div class="bdsharebuttonbox bdshare-button-style0-16" style="float: right;" data-bd-bind="1449129727166">
<a href="http://blog.csdn.net/yixiaoping/article/details/9801397#" class="bds_more" data-cmd="more" style="background-position:0 0 !important; background-image: url(http://bdimg.share.baidu.com/static/api/img/share/icons_0_16.png?v=d754dcc0.png) !important"></a>
<a href="http://blog.csdn.net/yixiaoping/article/details/9801397#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间" style="background-position:0 -52px !important"></a>
<a href="http://blog.csdn.net/yixiaoping/article/details/9801397#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博" style="background-position:0 -104px !important"></a>
<a href="http://blog.csdn.net/yixiaoping/article/details/9801397#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博" style="background-position:0 -260px !important"></a>
<a href="http://blog.csdn.net/yixiaoping/article/details/9801397#" class="bds_renren" data-cmd="renren" title="分享到人人网" style="background-position:0 -208px !important"></a>
<a href="http://blog.csdn.net/yixiaoping/article/details/9801397#" class="bds_weixin" data-cmd="weixin" title="分享到微信" style="background-position:0 -1612px !important"></a>
</div>
<script>window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "1", "bdMiniList": false, "bdPic": "", "bdStyle": "0", "bdSize": "16" }, "share": {} }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];</script>
<!-- Baidu Button END -->

   <link rel="stylesheet" href="http://static.blog.csdn.net/css/blog_detail.css">

    
<!--172.16.140.11-->
<ul class="article_next_prev">
            <li class="prev_article"><span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_shangyipian&#39;]);location.href=&#39;/yixiaoping/article/details/9801199&#39;;">上一篇</span><a href="http://blog.csdn.net/yixiaoping/article/details/9801199" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_shangyipian&#39;])">h2database轻量级数据库</a></li>
            <li class="next_article"><span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_xiayipian&#39;]);location.href=&#39;/yixiaoping/article/details/9831913&#39;;">下一篇</span><a href="http://blog.csdn.net/yixiaoping/article/details/9831913" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_xiayipian&#39;])">Oracle查询树形结构</a></li>
</ul>

<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=1536434" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/bds_s_v2.js"></script>

<script type="text/javascript">
    document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script>
<!-- Baidu Button END -->

 

        <div id="digg" articleid="9801397">
            <dl id="btnDigg" class="digg digg_disable">
               
                 <dt>顶</dt>
                <dd>0</dd>
            </dl>
            <dl id="btnBury" class="digg digg_disable">
              
                  <dt>踩</dt>
                <dd>0</dd>
            </dl>
        </div>


        <div class="similar_article" style="">
                <h4>我的同类文章</h4>
                <div class="similar_c" style="margin:20px 0px 0px 0px">
                    <div class="similar_c_t">
                                <label class="similar_cur">
                                    <span style="cursor:pointer" onclick="GetCategoryArticles(&#39;1546197&#39;,&#39;yixiaoping&#39;,&#39;foot&#39;,&#39;9801397&#39;);">H2 Database<em>（1）</em></span>
                                </label>
                    </div>
                   
                    <div class="similar_wrap tracking-ad" data-mod="popu_141">
                        <a href="http://blog.csdn.net/" style="display:none" target="_blank">http://blog.csdn.net</a>
                        <ul class="similar_list fl"><li><em>•</em><a href="http://blog.csdn.net/yixiaoping/article/details/9801199" id="foot_aritcle_9801199undefined10758368228562176" title="h2database轻量级数据库">h2database轻量级数据库</a></li> </ul>

                        <ul class="similar_list fr"></ul>
                    </div>
                </div>
            </div>    
    <script type="text/javascript">
        $(function () {
            GetCategoryArticles('1546197', 'yixiaoping','foot','9801397');
        });
    </script>
      
</div>
<div id="suggest">

    <dl class="blog-associat-tag">
        <dt>主题推荐</dt>
        <dd>
                <a href="http://www.csdn.net/tag/%E6%95%B0%E6%8D%AE%E5%BA%93" target="_blank" class="blog-tage-red">数据库</a> 
                <a href="http://www.csdn.net/tag/postgresql" target="_blank" class="blog-tage-red">postgresql</a> 
                <a href="http://www.csdn.net/tag/mysql" target="_blank" class="blog-tage-red">mysql</a> 
                <a href="http://www.csdn.net/tag/color" target="_blank" class="blog-tage-red">color</a> 
                <a href="http://www.csdn.net/tag/hsqldb" target="_blank" class="blog-tage-red">hsqldb</a> 
                <a href="http://www.csdn.net/tag/%E5%BC%80%E6%BA%90" target="_blank" class="blog-tage-red">开源</a> 
                <a href="http://www.csdn.net/tag/derby" target="_blank" class="blog-tage-red">derby</a> 
                <a href="http://www.csdn.net/tag/class" target="_blank" class="blog-tage-red">class</a> 
                <a href="http://www.csdn.net/tag/class" target="_blank" class="blog-tage-red">class</a> 
                <a href="http://www.csdn.net/tag/rgb" target="_blank" class="blog-tage-red">rgb</a> 
        </dd>        
    </dl> 
    <span style="display:none" id="tags">数据库,postgresql,mysql,color,hsqldb,开源,derby,class,class,rgb</span>

</div>
         <script language="javascript" type="text/javascript">     
             $(function(){
                 $.get("/yixiaoping/svc/GetSuggestContent/9801397",function(data){
                     $("#suggest").html(data);
                 });     
             });             
         </script>  


<style>
.blog-ass-articl dd {
color: #369;
width: 99%; /*修改行*/
float: left;
overflow: hidden;
font: normal normal 12px/23px "SimSun";
height: 23px;
margin: 0;
padding: 0 0 0 10px;
margin-right: 30px;
background: url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;
}
</style>

<dl class="blog-ass-articl" id="res-relatived"> 
     <dt><span>猜你在找</span></dt>    


   


    <div id="adCollege" style="width: 42%;float: left;"> 
        <script src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/job_reco.js" type="text/javascript"></script> 
        <script type="text/javascript">
            csdn.position.showEdu({
                sourceType: "blog",
                searchType: "detail",
                searchKey: "9801397",
                username: "",
                recordcount: "5",
                containerId: "adCollege" //容器DIV的id。 
            });
        </script> 
    </div>  

    
     <div id="res" data-mod="popu_36" class="tracking-ad" style="width: 42%; float: left; margin-right: 30px; display: block;"><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="http://blog.csdn.net/sdulibh/article/details/26379845" title="速配指南之软件参考" strategy="SearchAlgorithm" target="_blank">速配指南之软件参考</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="http://blog.csdn.net/bzw73/article/details/20799569" title="linuxwindows对应的软件" strategy="SearchAlgorithm" target="_blank">linuxwindows对应的软件</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="http://blog.csdn.net/jeffreyst/article/details/8471607" title="Ubuntu应用推荐大全" strategy="SearchAlgorithm" target="_blank">Ubuntu应用推荐大全</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="http://blog.csdn.net/codepython/article/details/42350945" title="alibabadruid 常见问题" strategy="SearchAlgorithm" target="_blank">alibabadruid 常见问题</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="http://blog.csdn.net/s464036801/article/details/8243322" title="Linux入门学习之Ubuntu常用软件" strategy="SearchAlgorithm" target="_blank">Linux入门学习之Ubuntu常用软件</a></dd></div>
   
</dl>



<script type="text/javascript">
    $(function () {
        setTimeout(function () {
            var searchtitletags = 'H2数据库使用' + ',' + $("#tags").html();
            searchService({
                index: 'blog',
                query: searchtitletags,
                from: 5,
                size: 5,
                appendTo: '#res',
                url: 'recommend',
                his: 2,
                client: "blog_cf_enhance",
                tmpl: '<dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="#{ url }" title="#{ title }" strategy="#{ strategy }">#{ title }</a></dd>'
            });
        }, 500);
    });    

 </script>   

    <div id="ad_cen">        
<!--AdForward Begin:-->
<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/s(1)" charset="gbk"></script><script type="text/javascript">
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
(function() {
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') + 
'//www.googletagservices.com/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node);
})();
</script>

<div id="div-gpt-ad-1429585234886-0">
<script type="text/javascript">
googletag.cmd.push(function() {
googletag.defineSlot('/8456/IDG.CN_B2B_csdn.net', [728, 90], 'div-gpt-ad-1429585234886-0')
.addService(googletag.pubads())
.setTargeting("category","blog");

if (self != top) {
         googletag.pubads().set("page_url", document.referrer);
         }

googletag.enableServices();
googletag.display('div-gpt-ad-1429585234886-0');
});
</script>
<div id="google_ads_iframe_/8456/IDG.CN_B2B_csdn.net_0__container__" style="border: 0pt none;"><iframe id="google_ads_iframe_/8456/IDG.CN_B2B_csdn.net_0" name="google_ads_iframe_/8456/IDG.CN_B2B_csdn.net_0" width="728" height="90" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" src="javascript:"<html><body style='background:transparent'></body></html>"" style="border: 0px; vertical-align: bottom;"></iframe></div><iframe id="google_ads_iframe_/8456/IDG.CN_B2B_csdn.net_0__hidden__" name="google_ads_iframe_/8456/IDG.CN_B2B_csdn.net_0__hidden__" width="0" height="0" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" src="javascript:"<html><body style='background:transparent'></body></html>"" style="border: 0px; vertical-align: bottom; visibility: hidden; display: none;"></iframe></div>
<!--AdForward End-->    </div>  

<div class="comment_class">
    <div id="comment_title" class="panel_head">
        <span class="see_comment">查看评论</span><a name="comments"></a></div>
    <div id="comment_list"><dl class="comment_item comment_topic" id="comment_item_5063051"><dt class="comment_head" floor="4">4楼 <span class="user"><a class="username" href="http://blog.csdn.net/zzuchenyb" target="_blank">iechenyb_</a> <span class="ptime">2015-05-20 10:36发表</span>  <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display:none;" commentid="5063051" username="zzuchenyb"> <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/zzuchenyb" target="_blank"><img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/3_zzuchenyb.jpg" width="40" height="40"></a></dd><dd class="comment_body">Embedded模式下的第三点，登陆的时候我登陆不上，报<br>Wrong user name or password【28000-173】错误，望指教。</dd></dl><dl class="comment_item comment_topic" id="comment_item_3759667"><dt class="comment_head" floor="3">3楼 <span class="user"><a class="username" href="http://blog.csdn.net/yogurt2012" target="_blank">yogurt2012</a> <span class="ptime">2014-04-21 18:10发表</span>  <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display:none;" commentid="3759667" username="yogurt2012"> <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/yogurt2012" target="_blank"><img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/3_yogurt2012.jpg" width="40" height="40"></a></dd><dd class="comment_body">如果要调试数据库源码怎么做呢？</dd></dl><dl class="comment_item comment_topic" id="comment_item_3300307"><dt class="comment_head" floor="2">2楼 <span class="user"><a class="username" href="http://blog.csdn.net/gu821361889" target="_blank">cp4</a> <span class="ptime">2013-12-17 16:50发表</span>  <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display:none;" commentid="3300307" username="gu821361889"> <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/gu821361889" target="_blank"><img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/3_gu821361889.jpg" width="40" height="40"></a></dd><dd class="comment_body">test  sql  是指sql语句</dd></dl><dl class="comment_item comment_topic" id="comment_item_3048579"><dt class="comment_head" floor="1">1楼 <span class="user"><a class="username" href="http://blog.csdn.net/u012217495" target="_blank">xiao-fei</a> <span class="ptime">2013-10-30 11:43发表</span>  <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display:none;" commentid="3048579" username="u012217495"> <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/u012217495" target="_blank"><img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/3_u012217495.jpg" width="40" height="40"></a></dd><dd class="comment_body">新建Generic H2 (Embedded)数据库，指定：JDBC URL:jdbc:h2:E:\research\workspace\H2Test\db\test，然后执行上面的test sql语句，来创建一个test表。这句话怎么理解啊？testsql语句是哪一条啊？？</dd></dl><div class="clear"></div></div>
    <div id="comment_bar" style="display: none;">
    </div>
    <div id="comment_form"><div class="guest_link">您还没有登录,请<a href="javascript:void(0);" onclick="javascript:loginbox();">[登录]</a>或<a href="http://passport.csdn.net/account/register?from=http%3A%2F%2Fblog.csdn.net%2Fyixiaoping%2Farticle%2Fdetails%2F9801397">[注册]</a></div></div>

    <div class="announce">
        * 以上用户言论只代表其个人观点，不代表CSDN网站的观点或立场<a name="reply"></a><a name="quote"></a></div>
</div>

<script type="text/javascript">
    var fileName = '9801397';
    var commentscount = 4;
    var islock = false
</script>
<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/comment.js"></script>
    <div id="ad_bot">
    </div>
<div id="report_dialog">
</div>

<div id="d-top" style="bottom:60px;">
        <a id="quick-reply" class="btn btn-top q-reply" title="快速回复" style="display:none;">
            <img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/blog-icon-reply.png" alt="快速回复">
        </a>    

    <a id="d-top-a" class="btn btn-top backtop" style="display: none;" title="返回顶部" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_huidaodingbu&#39;])">         
         <img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/top.png" alt="TOP">
    </a>
</div>
<script type="text/javascript">
    $(function ()
    {
        $("#ad_frm_0").height("90px");
        
        setTimeout(function(){
            $("#ad_frm_2").height("200px");
        },1000);    
    });
  
</script>
<style type="text/css">
    .tag_list
    {
        background: none repeat scroll 0 0 #FFFFFF;
        border: 1px solid #D7CBC1;
        color: #000000;
        font-size: 12px;
        line-height: 20px;
        list-style: none outside none;
        margin: 10px 2% 0 1%;
        padding: 1px;
    }
    .tag_list h5
    {
        background: none repeat scroll 0 0 #E0DBD3;
        color: #47381C;
        font-size: 12px;
        height: 24px;
        line-height: 24px;
        padding: 0 5px;
        margin: 0;
    }
    .tag_list h5 a
    {
        color: #47381C;
    }
    .classify
    {
        margin: 10px 0;
        padding: 4px 12px 8px;
    }
    .classify a
    {
        margin-right: 20px;
        white-space: nowrap;
    }
</style>


<div class="tag_list" style="">

    <h5>
        <a href="http://www.csdn.net/tag/" target="_blank">核心技术类目</a></h5>
    <div class="classify">
<a title="全部主题" href="http://www.csdn.net/tag" target="_blank" onclick="LogClickCount(this,336);">全部主题</a>
<a title="Hadoop" href="http://g.csdn.net/5272865" target="_blank" onclick="LogClickCount(this,336);">Hadoop</a>
<a title="AWS" href="http://g.csdn.net/5272866" target="_blank" onclick="LogClickCount(this,336);">AWS</a>
<a title="移动游戏" href="http://g.csdn.net/5272870" target="_blank" onclick="LogClickCount(this,336);">移动游戏</a>
<a title="Java" href="http://g.csdn.net/5272871" target="_blank" onclick="LogClickCount(this,336);">Java</a>
<a title="Android" href="http://g.csdn.net/5272872" target="_blank" onclick="LogClickCount(this,336);">Android</a>
<a title="iOS" href="http://g.csdn.net/5272873" target="_blank" onclick="LogClickCount(this,336);">iOS</a>
<a title="Swift" href="http://g.csdn.net/5272868" target="_blank" onclick="LogClickCount(this,336);">Swift</a>
<a title="智能硬件" href="http://g.csdn.net/5272869" target="_blank" onclick="LogClickCount(this,336);">智能硬件</a>
<a title="Docker" href="http://g.csdn.net/5272867" target="_blank" onclick="LogClickCount(this,336);">Docker</a>
<a title="OpenStack" href="http://g.csdn.net/5272925" target="_blank" onclick="LogClickCount(this,336);">OpenStack</a>
<a title="VPN" href="http://www.csdn.net/tag/vpn" target="_blank" onclick="LogClickCount(this,336);">VPN</a>
<a title="Spark" href="http://g.csdn.net/5272924" target="_blank" onclick="LogClickCount(this,336);">Spark</a>
<a title="ERP" href="http://www.csdn.net/tag/erp" target="_blank" onclick="LogClickCount(this,336);">ERP</a>
<a title="IE10" href="http://www.csdn.net/tag/ie10" target="_blank" onclick="LogClickCount(this,336);">IE10</a>
<a title="Eclipse" href="http://www.csdn.net/tag/eclipse" target="_blank" onclick="LogClickCount(this,336);">Eclipse</a>
<a title="CRM" href="http://www.csdn.net/tag/crm" target="_blank" onclick="LogClickCount(this,336);">CRM</a>
<a title="JavaScript" href="http://www.csdn.net/tag/javascript" target="_blank" onclick="LogClickCount(this,336);">JavaScript</a>
<a title="数据库" href="http://www.csdn.net/tag/%E6%95%B0%E6%8D%AE%E5%BA%93" target="_blank" onclick="LogClickCount(this,336);">数据库</a>
<a title="Ubuntu" href="http://www.csdn.net/tag/ubuntu" target="_blank" onclick="LogClickCount(this,336);">Ubuntu</a>
<a title="NFC" href="http://www.csdn.net/tag/nfc" target="_blank" onclick="LogClickCount(this,336);">NFC</a>
<a title="WAP" href="http://www.csdn.net/tag/wap" target="_blank" onclick="LogClickCount(this,336);">WAP</a>
<a title="jQuery" href="http://www.csdn.net/tag/jquery" target="_blank" onclick="LogClickCount(this,336);">jQuery</a>
<a title="BI" href="http://www.csdn.net/tag/bi" target="_blank" onclick="LogClickCount(this,336);">BI</a>
<a title="HTML5" href="http://www.csdn.net/tag/html5" target="_blank" onclick="LogClickCount(this,336);">HTML5</a>
<a title="Spring" href="http://www.csdn.net/tag/spring" target="_blank" onclick="LogClickCount(this,336);">Spring</a>
<a title="Apache" href="http://www.csdn.net/tag/apache" target="_blank" onclick="LogClickCount(this,336);">Apache</a>
<a title=".NET" href="http://www.csdn.net/tag/.net" target="_blank" onclick="LogClickCount(this,336);">.NET</a>
<a title="API" href="http://www.csdn.net/tag/api" target="_blank" onclick="LogClickCount(this,336);">API</a>
<a title="HTML" href="http://www.csdn.net/tag/html" target="_blank" onclick="LogClickCount(this,336);">HTML</a>
<a title="SDK" href="http://www.csdn.net/tag/sdk" target="_blank" onclick="LogClickCount(this,336);">SDK</a>
<a title="IIS" href="http://www.csdn.net/tag/iis" target="_blank" onclick="LogClickCount(this,336);">IIS</a>
<a title="Fedora" href="http://www.csdn.net/tag/fedora" target="_blank" onclick="LogClickCount(this,336);">Fedora</a>
<a title="XML" href="http://www.csdn.net/tag/xml" target="_blank" onclick="LogClickCount(this,336);">XML</a>
<a title="LBS" href="http://www.csdn.net/tag/lbs" target="_blank" onclick="LogClickCount(this,336);">LBS</a>
<a title="Unity" href="http://www.csdn.net/tag/unity" target="_blank" onclick="LogClickCount(this,336);">Unity</a>
<a title="Splashtop" href="http://www.csdn.net/tag/splashtop" target="_blank" onclick="LogClickCount(this,336);">Splashtop</a>
<a title="UML" href="http://www.csdn.net/tag/uml" target="_blank" onclick="LogClickCount(this,336);">UML</a>
<a title="components" href="http://www.csdn.net/tag/components" target="_blank" onclick="LogClickCount(this,336);">components</a>
<a title="Windows Mobile" href="http://www.csdn.net/tag/windowsmobile" target="_blank" onclick="LogClickCount(this,336);">Windows Mobile</a>
<a title="Rails" href="http://www.csdn.net/tag/rails" target="_blank" onclick="LogClickCount(this,336);">Rails</a>
<a title="QEMU" href="http://www.csdn.net/tag/qemu" target="_blank" onclick="LogClickCount(this,336);">QEMU</a>
<a title="KDE" href="http://www.csdn.net/tag/kde" target="_blank" onclick="LogClickCount(this,336);">KDE</a>
<a title="Cassandra" href="http://www.csdn.net/tag/cassandra" target="_blank" onclick="LogClickCount(this,336);">Cassandra</a>
<a title="CloudStack" href="http://www.csdn.net/tag/cloudstack" target="_blank" onclick="LogClickCount(this,336);">CloudStack</a>
<a title="FTC" href="http://www.csdn.net/tag/ftc" target="_blank" onclick="LogClickCount(this,336);">FTC</a>
<a title="coremail" href="http://www.csdn.net/tag/coremail" target="_blank" onclick="LogClickCount(this,336);">coremail</a>
<a title="OPhone " href="http://www.csdn.net/tag/ophone" target="_blank" onclick="LogClickCount(this,336);">OPhone </a>
<a title="CouchBase" href="http://www.csdn.net/tag/couchbase" target="_blank" onclick="LogClickCount(this,336);">CouchBase</a>
<a title="云计算" href="http://www.csdn.net/tag/%E4%BA%91%E8%AE%A1%E7%AE%97" target="_blank" onclick="LogClickCount(this,336);">云计算</a>
<a title="iOS6" href="http://www.csdn.net/tag/iOS6" target="_blank" onclick="LogClickCount(this,336);">iOS6</a>
<a title="Rackspace " href="http://www.csdn.net/tag/rackspace" target="_blank" onclick="LogClickCount(this,336);">Rackspace </a>
<a title="Web App" href="http://www.csdn.net/tag/webapp" target="_blank" onclick="LogClickCount(this,336);">Web App</a>
<a title="SpringSide" href="http://www.csdn.net/tag/springside" target="_blank" onclick="LogClickCount(this,336);">SpringSide</a>
<a title="Maemo" href="http://www.csdn.net/tag/maemo" target="_blank" onclick="LogClickCount(this,336);">Maemo</a>
<a title="Compuware" href="http://www.csdn.net/tag/compuware" target="_blank" onclick="LogClickCount(this,336);">Compuware</a>
<a title="大数据" href="http://www.csdn.net/tag/%E5%A4%A7%E6%95%B0%E6%8D%AE" target="_blank" onclick="LogClickCount(this,336);">大数据</a>
<a title="aptech" href="http://www.csdn.net/tag/aptech" target="_blank" onclick="LogClickCount(this,336);">aptech</a>
<a title="Perl" href="http://www.csdn.net/tag/perl" target="_blank" onclick="LogClickCount(this,336);">Perl</a>
<a title="Tornado" href="http://www.csdn.net/tag/tornado" target="_blank" onclick="LogClickCount(this,336);">Tornado</a>
<a title="Ruby" href="http://www.csdn.net/tag/ruby" target="_blank" onclick="LogClickCount(this,336);">Ruby</a>
<a title="Hibernate" href="http://www.csdn.net/hibernate" target="_blank" onclick="LogClickCount(this,336);">Hibernate</a>
<a title="ThinkPHP" href="http://www.csdn.net/tag/thinkphp" target="_blank" onclick="LogClickCount(this,336);">ThinkPHP</a>
<a title="HBase" href="http://www.csdn.net/tag/hbase" target="_blank" onclick="LogClickCount(this,336);">HBase</a>
<a title="Pure" href="http://www.csdn.net/tag/pure" target="_blank" onclick="LogClickCount(this,336);">Pure</a>
<a title="Solr" href="http://www.csdn.net/tag/solr" target="_blank" onclick="LogClickCount(this,336);">Solr</a>
<a title="Angular" href="http://www.csdn.net/tag/angular" target="_blank" onclick="LogClickCount(this,336);">Angular</a>
<a title="Cloud Foundry" href="http://www.csdn.net/tag/cloudfoundry" target="_blank" onclick="LogClickCount(this,336);">Cloud Foundry</a>
<a title="Redis" href="http://www.csdn.net/tag/redis" target="_blank" onclick="LogClickCount(this,336);">Redis</a>
<a title="Scala" href="http://www.csdn.net/tag/scala" target="_blank" onclick="LogClickCount(this,336);">Scala</a>
<a title="Django" href="http://www.csdn.net/tag/django" target="_blank" onclick="LogClickCount(this,336);">Django</a>
<a title="Bootstrap" href="http://www.csdn.net/tag/bootstrap" target="_blank" onclick="LogClickCount(this,336);">Bootstrap</a>
    </div>

</div>
  <script language="javascript" type="text/javascript">     
      $(function(){
              setTimeout(function(){
                  $.get("/yixiaoping/svc/GetTagContent",function(data){
                      $(".tag_list").html(data).show();
                  });     
              });
          },500);                       
 </script> 


<div id="pop_win" style="display:none ;position: absolute; z-index: 10000; border: 1px solid rgb(220, 220, 220); top: 222.5px; left: 630px; opacity: 1; background: none 0px 0px repeat scroll rgb(255, 255, 255);">
    
</div>
<div id="popup_mask"></div>
<style>
    #popup_mask
    {
        position: absolute;
        width: 100%;
        height: 100%;
        background: #000;
        z-index: 9999;
        left: 0px;
        top: 0px;
        opacity: 0.3;
        filter: alpha(opacity=30);
        display: none;
    }

</style>




<script type="text/javascript">
    $(function(){
        setTimeout(function(){
            $(".comment_body:contains('回复')").each(function(index,item){
                var u=$(this).text().split('：')[0].toString().replace("回复","")
                var thisComment=$(this);
                if(u)
                {
                    $.getJSON("https://passport.csdn.net/get/nick?callback=?", {users: u}, function(a) {
                        if(a!=null&&a.data!=null&&a.data.length>0)
                        {
                            nick=a.data[0].n; 
                            if(u!=nick)
                            {
                                thisComment.text(thisComment.text().replace(u,nick));  
                            }
                        }       
                    });  
                }
            });
        },200);  
        
        setTimeout(function(){
            $("a img[src='http://js.tongji.linezing.com/stats.gif']").parent().css({"position":"absolute","left":"50%"});
        },300);
    });

    function loginbox(){
        var $logpop=$("#pop_win");
        $logpop.html('<iframe src="https://passport.csdn.net/account/loginbox?service=http://static.blog.csdn.net/callback.htm" frameborder="0" height="600" width="400" scrolling="no"></iframe>');

        $('#popup_mask').css({
            opacity: 0.5,
            width: $( document ).width() + 'px',
            height:  $( document ).height() + 'px'
        });
        $('#popup_mask').css("display","block");
 
        $logpop.css( {
            top: ($( window ).height() - $logpop.height())/ 2  + $( window 
       ).scrollTop() + 'px',
            left:($( window ).width() - $logpop.width())/ 2
        } );
 
        setTimeout( function () {
            $logpop.show();
            $logpop.css( {
                opacity: 1
            } );
        }, 200 );
 
        $('#popup_mask').unbind("click");
        $('#popup_mask').bind("click", function(){
            $('#popup_mask').hide();
            var $clopop = $("#pop_win");
            $("#common_ask_div_sc").css("display","none");
            $clopop.css( {
                opacity: 0
            } );
            setTimeout( function () {
                $clopop.hide();
            }, 350 );
            return false;
        });
    }    

</script>
                        <div class="clear">
                        </div>
                    </div>                   
                
            </div>
                   
           <div id="side">
    <div class="side">
<div id="panel_Profile" class="panel">
<ul class="panel_head"><span>个人资料</span></ul>
<ul class="panel_body profile">
<div id="blog_userface">
    <a href="http://my.csdn.net/yixiaoping" target="_blank">
    <img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/1_yixiaoping.jpg" title="访问我的空间" style="max-width:90%">
    </a>
    <br>
    <span><a href="http://my.csdn.net/yixiaoping" class="user_name" target="_blank">yixiaoping</a></span>
</div>
<div class="interact">

    <a href="javascript:void(0);" class="attent" id="span_add_follow" title="[加关注]"></a>

 <a href="javascript:void(0);" class="letter" title="[发私信]" onclick="window.open(&#39;http://msg.csdn.net/letters/model?receiver=yixiaoping&#39;,&#39;_blank&#39;,&#39;height=350,width=700&#39;);_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_sixin&#39;])"></a>  
</div>
<div id="blog_medal">
                <div id="bms_box">
               </div>
</div>
<ul id="blog_rank">
    <li>访问：<span>166472次</span></li>
    <li>积分：<span>1906</span> </li>    
    <li>等级： <span style="position:relative;display:inline-block;z-index:1">
            <img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/blog4.png" alt="" style="vertical-align: middle;" id="leveImg">
            <div id="smallTittle" style=" position: absolute;  left: -24px;  top: 25px;  text-align: center;  width: 101px;  height: 32px;  background-color: #fff;  line-height: 32px;  border: 2px #DDDDDD solid;  box-shadow: 0px 2px 2px rgba (0,0,0,0.1);  display: none;   z-index: 999;">
            <div style="left: 42%;  top: -8px;  position: absolute;  width: 0;  height: 0;  border-left: 10px solid transparent;  border-right: 10px solid transparent;  border-bottom: 8px solid #EAEAEA;"></div>
            积分：1906 </div>
        </span>  </li>
    <li>排名：<span>第11904名</span></li>
</ul>
<ul id="blog_statistics">
    <li>原创：<span>38篇</span></li>
    <li>转载：<span>55篇</span></li>
    <li>译文：<span>0篇</span></li>
    <li>评论：<span>24条</span></li>
</ul>
</ul>
</div>


<div class="panel" id="panel_Search">
    <ul class="panel_head"><span>文章搜索</span></ul>
    <ul class="panel_body">
        <form id="frmSearch" action="http://so.csdn.net/search" class="form_search" target="_blank">
        <span><input id="inputSearch" type="text" class="blogsearch" title="请输入关键字"></span>
        <input id="btnSubmit" type="button" value="搜索" title="search in blog">
        <input type="hidden" name="q" id="inputQ">
        <input type="hidden" name="t" value="blog">
        <a id="btnSearchBlog" target="_blank"></a>
        </form>
    </ul>
</div>

<script type="text/javascript">
    $(function () {
        $("#btnSubmit").click(function () {           
            search();
        });

        $("#frmSearch").submit(function () {
            search();
            return false;
        });

        function search()
        {
            var url = "http://so.csdn.net/so/search/s.do?q=" + encodeURIComponent($("#inputSearch").val()) + "&u=" + username + "&t=blog";
            window.location.href = url;
        }   
    });
</script><div id="panel_Category" class="panel">
<ul class="panel_head"><span>文章分类</span></ul>
<ul class="panel_body">    
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1240898" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">HTTP/HttpClient</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1240899" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">SNMP/Snmp4j</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1240900" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">UML</a><span>(6)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1240909" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">资源下载</a><span>(1)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1297242" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">JMS/ActiveMQ</a><span>(4)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1297280" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">eclipse/Myeclipse</a><span>(16)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1297337" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">Ant</a><span>(1)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1297812" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">linux/Unix</a><span>(5)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1298452" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">RMI</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1298487" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">博客技巧</a><span>(1)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1298507" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">JMX/MBean</a><span>(1)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1298556" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">HTTP</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1307840" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">系统监控</a><span>(2)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1328856" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">Java</a><span>(4)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1335137" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">单元测试/JUnit</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1356715" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">WebService/Axis</a><span>(6)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1402863" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">H2内存数据库</a><span>(1)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1546111" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">WEB性能与优化</a><span>(3)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1546195" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">Ehcache</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1546197" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">H2 Database</a><span>(2)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1546811" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">工具</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1547243" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">struts2错误</a><span>(2)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1551259" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">Oracle</a><span>(5)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1557273" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">Tomcat</a><span>(5)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1598641" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">Spring</a><span>(1)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1598711" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">Quartz</a><span>(1)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1605129" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">JBPM工作流</a><span>(1)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1719441" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">开源</a><span>(1)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/1760177" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">IBM Websphere Message Broker</a><span>(17)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/3035929" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">activiti</a><span>(2)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/yixiaoping/article/category/3144785" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">Spring MVC</a><span>(2)</span>
                </li>
</ul>
</div><div id="panel_Archive" class="panel">
<ul class="panel_head"><span>文章存档</span></ul>
<ul class="panel_body">
<div id="archive_list"><li><a href="http://blog.csdn.net/yixiaoping/article/month/2015/04">2015年04月</a><span>(2)</span></li><li><a href="http://blog.csdn.net/yixiaoping/article/month/2015/03">2015年03月</a><span>(2)</span></li><li><a href="http://blog.csdn.net/yixiaoping/article/month/2014/02">2014年02月</a><span>(2)</span></li><li><a href="http://blog.csdn.net/yixiaoping/article/month/2013/12">2013年12月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/yixiaoping/article/month/2013/11">2013年11月</a><span>(24)</span></li><span class="hidelist" style="display:none;"><li><a href="http://blog.csdn.net/yixiaoping/article/month/2013/09">2013年09月</a><span>(6)</span></li><li><a href="http://blog.csdn.net/yixiaoping/article/month/2013/08">2013年08月</a><span>(25)</span></li><li><a href="http://blog.csdn.net/yixiaoping/article/month/2013/04">2013年04月</a><span>(2)</span></li><li><a href="http://blog.csdn.net/yixiaoping/article/month/2013/03">2013年03月</a><span>(3)</span></li><li><a href="http://blog.csdn.net/yixiaoping/article/month/2013/01">2013年01月</a><span>(10)</span></li><li><a href="http://blog.csdn.net/yixiaoping/article/month/2012/12">2012年12月</a><span>(15)</span></li><li><a href="http://blog.csdn.net/yixiaoping/article/month/2012/09">2012年09月</a><span>(1)</span></li></span><div id="archive_list_button" class="list_closed">展开</div></div>
</ul>
</div>
<div id="hotarticls" class="panel">
<ul class="panel_head">
    <span>       
阅读排行    </span>
</ul>

<ul class="panel_body itemlist">
<li>
<a href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET.html" title="H2数据库使用">H2数据库使用</a><span>(40169)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/9993429" title="Eclipse的SVN插件与本地客户端关联不上如何解决">Eclipse的SVN插件与本地客户端关联不上如何解决</a><span>(12497)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/16877623" title="公共开放WebService接口">公共开放WebService接口</a><span>(6542)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/10066745" title="Myeclipse SVN错误：Error validating server certificate for https//">Myeclipse SVN错误：Error validating server certificate for https//</a><span>(5810)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/8543492" title="测试覆盖率工具--EMMA">测试覆盖率工具--EMMA</a><span>(5756)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/9988635" title="java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory的解决办法">java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory的解决办法</a><span>(5603)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/10476817" title="quartz.properties配置">quartz.properties配置</a><span>(5201)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/44515513" title="Eclipse安装Activiti Designer插件">Eclipse安装Activiti Designer插件</a><span>(4996)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/8845240" title="内存数据库H2使用">内存数据库H2使用</a><span>(4840)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/10950845" title="JBPM学习（一）：eclipse集成JBPM">JBPM学习（一）：eclipse集成JBPM</a><span>(4413)</span>
</li>
</ul>
</div>
<div id="hotarticls2" class="panel">
<ul class="panel_head"><span>评论排行</span></ul>
<ul class="panel_body itemlist">
<li>
<a href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET.html" title="H2数据库使用">H2数据库使用</a><span>(4)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/10476011" title="Spring+Quartz实现定时任务的配置实例">Spring+Quartz实现定时任务的配置实例</a><span>(2)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/10950845" title="JBPM学习（一）：eclipse集成JBPM">JBPM学习（一）：eclipse集成JBPM</a><span>(2)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/8268163" title="CSDN 代码样式 代码高亮 代码风格">CSDN 代码样式 代码高亮 代码风格</a><span>(2)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/16873633" title="WebSphere Message Broker(6)--计算节点">WebSphere Message Broker(6)--计算节点</a><span>(2)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/8678779" title="MINA2收包中对粘包的处理">MINA2收包中对粘包的处理</a><span>(2)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/44514723" title="activiti-explorer.war部署tomcat报 “Context [/activiti-explorer] startup failed due to previous errors”">activiti-explorer.war部署tomcat报 “Context [/activiti-explorer] startup failed due to previous errors”</a><span>(2)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/45281721" title="SpringMVC @ResponseBody 415错误处理">SpringMVC @ResponseBody 415错误处理</a><span>(2)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/9993429" title="Eclipse的SVN插件与本地客户端关联不上如何解决">Eclipse的SVN插件与本地客户端关联不上如何解决</a><span>(1)</span>
</li>
<li>
<a href="http://blog.csdn.net/yixiaoping/article/details/9801199" title="h2database轻量级数据库">h2database轻量级数据库</a><span>(1)</span>
</li>
</ul>
</div>
<div id="homepageArticles" class="panel tracking-ad" data-mod="popu_4">
<ul class="panel_head"><span>推荐文章</span></ul>
<ul class="panel_body" id="ad_commend">
<ul>
<li><a href="http://blog.csdn.net/wangshubo1989/article/details/50001805" target="_blank">*没有躲过的坑--正则表达式截取字符串</a></li>
<li><a href="http://blog.csdn.net/developer_jiangqq/article/details/50000733" target="_blank">*CardView完全解析与RecyclerView结合使用(三十二)</a></li>
<li><a href="http://blog.csdn.net/lyhhj/article/details/50002005" target="_blank">*And

roid 高仿微信发朋友圈浏览图片效果</a></li>
<li><a href="http://blog.csdn.net/gisshixisheng/article/details/49922677" target="_blank">*通过Ajax的方式执行GP服务</a></li>

<li><a href="http://blog.csdn.net/xfxyy_sxfancy/article/details/49758323" target="_blank">*编译器架构的王者LLVM——（6）多遍翻译的宏翻译系统</a></li>
<li><a href="http://blog.csdn.net/musicvs/article/details/49901941" target="_blank">* 【笨木头Unity】入门之旅010（完结）：Demo之四处找死（五）

_UI</a></li>
</ul></ul>
</div>


<div id="newcomments" class="panel">
<ul class="panel_head"><span>最新评论</span></ul>
<ul class="panel_body itemlist">
    <li>
   
         <a href="http://blog.csdn.net/yixiaoping/article/details/8667153#comments">JNA使用---Java 和 C 语言之间的调用</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/weiqubo" class="user_name">工程师WWW</a>:
例子都极其简单，都是传个string或int类型这样简单的参数，没有复杂参数，指针参数，以及回传
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/yixiaoping/article/details/44514723#comments">activiti-explorer.war部署tomcat报 “Context [/activiti-explorer] startup failed due to previous errors”</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/lzj0327" class="user_name">lzj0327</a>:
不是屁话，确实是这样
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/yixiaoping/article/details/44514723#comments">activiti-explorer.war部署tomcat报 “Context [/activiti-explorer] startup failed due to previous errors”</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/a8761087" class="user_name">GrowingDarker</a>:
屁话
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/yixiaoping/article/details/45281721#comments">SpringMVC @ResponseBody 415错误处理</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/wp306357" class="user_name">wp306357</a>:
我也遇到版本引起的这个问题，现在解决了，谢谢博主了
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/yixiaoping/article/details/45281721#comments">SpringMVC @ResponseBody 415错误处理</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/u013932912" class="user_name">发的萨芬4人</a>:
问题就是出在第二步，谢谢博主了
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/yixiaoping/article/details/16873633#comments">WebSphere Message Broker(6)--计算节点</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/doujun1998" class="user_name">doujun1998</a>:
兄弟，你写的挺好，怎么没有了啊？小弟在学习呢！
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/yixiaoping/article/details/8268163#comments">CSDN 代码样式 代码高亮 代码风格</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/lwx228587" class="user_name">lwx228587</a>:
thank you
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/yixiaoping/article/details/8268163#comments">CSDN 代码样式 代码高亮 代码风格</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/lwx228587" class="user_name">lwx228587</a>:
goood
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/yixiaoping/article/details/8316497#comments">Java如何实现系统监控、系统信息收集、sigar开源API的学习</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/Qsj251" class="user_name">Qsj251</a>:
Nice！
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/yixiaoping/article/details/9801397#comments">H2数据库使用</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/zzuchenyb" class="user_name">iechenyb_</a>:
Embedded模式下的第三点，登陆的时候我登陆不上，报Wrong user name or pas...
    </p>
    </li>
</ul>
</div>
    </div>
    <div class="clear">
    </div>
 </div>   
            <div class="clear">
            </div>
        </div>
        

<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/cnick.js"></script>
<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/newblog.min.js"></script>


<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/showblogmedal.ashx"></script>
<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/JavaScript1.js"></script><link rel="stylesheet" type="text/css" href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/pub_footer_2014.css"><div class="pub_fo"><div id="pub_footerall" class="pub_footer_new"><dl><dt></dt> <dd class="foot_sub_menu"><a href="http://www.csdn.net/company/about.html" target="_blank">公司简介</a><span>|</span><a href="http://www.csdn.net/company/recruit.html" target="_blank">招贤纳士</a><span>|</span><a href="http://www.csdn.net/company/marketing.html" target="_blank">广告服务</a><span>|</span><a href="http://www.csdn.net/company/account.html" target="_blank">银行汇款帐号</a><span>|</span><a href="http://www.csdn.net/company/contact.html" target="_blank">联系方式</a><span>|</span><a href="http://www.csdn.net/company/statement.html" target="_blank">版权声明</a><span>|</span><a href="http://www.csdn.net/company/layer.html" target="_blank">法律顾问</a><span>|</span><a href="mailto:webmaster@csdn.net">问题报告</a><span>|</span><a target="_blank" href="http://www.csdn.net/friendlink.html">合作伙伴</a><span>|</span><a href="http://bbs.csdn.net/forums/Service" target="_blank">论坛反馈</a></dd><dd class="foot_contact"><a href="http://wpa.qq.com/msgrd?v=3&uin=2355263776&site=qq&menu=yes" target="_blank" class="qq">网站客服</a><a href="http://wpa.qq.com/msgrd?v=3&uin=2251809102&site=qq&menu=yes" target="_blank" class="qq">杂志客服</a><a href="http://e.weibo.com/csdnsupport/profile" target="_blank" class="weibo">微博客服</a><a href="mailto:webmaster@csdn.net" class="email" title="联系邮箱">webmaster@csdn.net</a><span class="phone" title="服务热线">400-600-2320</span><span class="interval">|</span><span>北京创新乐知信息技术有限公司 版权所有</span><span class="interval">|</span><span>江苏乐知网络技术有限公司 提供商务支持</span></dd><dd class="foot_copyright"><span>京&nbsp;ICP&nbsp;证&nbsp;070598&nbsp;号</span><span class="interval">|</span><span>Copyright © 1999-2014, CSDN.NET, All Rights Reserved&nbsp;</span><a href="http://www.hd315.gov.cn/beian/view.asp?bianhao=010202001032100010" target="_blank"><img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/gongshang_logos.gif" alt="GongshangLogo" title=""></a></dd></dl></div></div><div id="note1" class="csdn_note" style="display:none; position:absolute; z-index:9999; width:440px">  <span class="notice_top_arrow"><span class="inner"></span></span>  <div class="box"></div></div><div class="csdn_notice_tip" style="display: none; position: absolute; z-index: 9990; width: 170px;">  <iframe src="about:blank" frameborder="0" scrolling="no" style="z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;background:transparent"></iframe>  <div class="tip_text">您有<strong>0</strong>条新通知</div>  <a href="javascript:void 0" class="close2"></a></div><script id="noticeScript" type="text/javascript" btnid="header_notice_num" wrapid="note1" count="5" subcount="5" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/notify.js"></script>

    <script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/login.js"></script>
<script type="text/javascript">document.write("<img src=http://counter.csdn.net/pv.aspx?id=24 border=0 width=0 height=0>");</script><img src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/pv.aspx" border="0" width="0" height="0">
<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/counter.js"></script><script type="text/javascript" charset="UTF-8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/msg.popup.js"></script>
<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ad-blog.js"></script><script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ad-ms1578.js"></script><iframe src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/container.html" style="visibility: hidden; display: none;"></iframe>
<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ad-ms1579_2.js"></script>
<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ad-ms1580_3.js"></script>
<script type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ad-ms1581_4.js"></script>

<script type="text/javascript">
    $(function () {
        function __get_code_toolbar(snippet_id) {
            return $("<a href='https://code.csdn.net/snippets/"
                    + snippet_id
                    + "' target='_blank' title='在CODE上查看代码片' style='text-indent:0;'><img src='https://code.csdn.net/assets/CODE_ico.png' width=12 height=12 alt='在CODE上查看代码片' style='position:relative;top:1px;left:2px;'/></a>"
                    + "<a href='https://code.csdn.net/snippets/"
                    + snippet_id
                    + "/fork' target='_blank' title='派生到我的代码片'  style='text-indent:0;'><img src='https://code.csdn.net/assets/ico_fork.svg' width=12 height=12 alt='派生到我的代码片' style='position:relative;top:2px;left:2px;'/></a>");
        }
        
        $("[code_snippet_id]").each(function () {
            __s_id = $(this).attr("code_snippet_id");
            if (__s_id != null && __s_id != "" && __s_id != 0 && parseInt(__s_id) > 70020) {
                __code_tool = __get_code_toolbar(__s_id);
                $(this).prev().find(".tools").append(__code_tool);
            }
        });

        $(".bar").show();
    });
</script>




    </div><input type="hidden" id="aa_g_data_ids">
      <!--new top-->
    
    <script id="csdn-toolbar-id" btnid="header_notice_num" wrapid="note1" count="5" subcount="5" type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/toolbar.js"></script>
     <!--new top-->
   
    <link href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ask_float_block.css" type="text/css" rel="stylesheet">
    <script language="JavaScript" type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/wmd.js"></script>
    <script language="JavaScript" type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/showdown.js"></script>
    <script language="JavaScript" type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/prettify.js"></script>
    <script language="JavaScript" type="text/javascript" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ask_float_block.js"></script>
   

   
 <div id="tag-suggest-pop">
  <div class="relative">
    <div class="close"></div>
    <div class="content"></div>
  </div>
</div><link rel="stylesheet" type="text/css" media="screen" href="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/ask_float_fonts_css-6b30a53970eb5c3a2a045e3df585b475.css"><div data-mod="popu_64" class="tracking-ad" chg-blk="0"><a id="com-appcode-float-block" href="http://www.csdn.net/app/" target="_blank" title="APP二维码" style="top:194px"><span id="appcode-close"></span></a><a id="com-app-float-block" href="http://www.csdn.net/app/" title="APP下载" style="top:278px"></a><a id="com-quick-reply" title="快速回复" style="top:316px"></a><a id="com-d-top-a" style="top: 354px; display: block;" title="返回顶部" onclick=""></a> </div><div class="pop_edit ask_second comm_ask_second"><h3>提问</h3><span class="ask_float_span">您的问题将会被发布在“<a class="ask_float_channel" href="http://ask.csdn.net/" target="_blank" style="cursor:pointer">技术问答</a>”频道</span><a href="http://blog.csdn.net/yixiaoping/article/details/9801397#" nodetype="close" class="close">×</a><div class="context"><div class="err_div"><span class="err_ico"></span><span class="err_txt">该问题已存在，请勿重复提问</span></div><div class="input_div"><input id="askInputSecond" type="text" style="font-size:14px;" placeholder="问题标题"></div><div class="cm_box"><div class="cm_dialog"></div> <div class="pop_cm cm_add_link"><input type="text" placeholder="链接内容" id="af_cm_link_txt"><input type="text" placeholder="链接地址" id="af_cm_link_url"><input type="text" placeholder="链接提示" id="af_cm_link_tit"><div class="text-right"><span class="btn btn-default btn-sm" id="add_link_btn">插入链接</span> </div> </div><div class="pop_cm cm_add_img"><div class="nav-tabs"><a class="img_tab active" href="http://blog.csdn.net/yixiaoping/article/details/9801397#tab_upload">本地上传</a><a class="img_tab" href="http://blog.csdn.net/yixiaoping/article/details/9801397#tab_weburl">网络图片</a></div><div class="tab_panel active" id="tab_upload"><div class="set_img"><iframe src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/upload.html"></iframe></div></div><div class="tab_panel" id="tab_weburl"><input type="text" placeholder="图片地址" id="af_cm_img_url"><input type="text" placeholder="图片说明" id="af_cm_img_alt"><div class="text-right"><span class="btn btn-default btn-sm" id="add_img_btn">插入图片</span> </div></div> </div></div> <textarea id="editor_all" rows="8" style="display: none;"></textarea><div class="editor-toolbar"><i class="separator">|</i><a class="icon-headline" title="标题一（Ctrl+Alt+1）"></a><a class="icon-heading" title="标题二（Ctrl+Alt+2）"></a><a class="icon-bold" title="粗体（Ctrl+B）"></a><a class="icon-italic" title="斜体（Ctrl+I）"></a><i class="separator">|</i><a class="icon-quote-left" title="引用（Ctrl+’）"></a><a class="icon-code" title="插入代码片（Ctrl+,）"></a><a class="icon-list-ul" title="无序列表（Ctrl+L）"></a><a class="icon-list-ol" title="有序列表（Ctrl+Alt+L）"></a><i class="separator">|</i><a class="icon-link" title="添加链接（Ctrl+K）"></a><a class="icon-picture" title="添加图片（Ctrl+Alt+I）"></a><i class="separator">|</i><a class="icon-reply" title="撤退（Ctrl+Z）"></a><a class="icon-share-alt" title="前进（Ctrl+Shift+Z）"></a><i class="separator">|</i><a class="icon-info" href="http://ask.csdn.net/pages/markdown" target="_blank" title="markdown语法参考"></a><a class="icon-preview" title="预览"></a><i class="separator">|</i></div><div class="CodeMirror cm-s-paper CodeMirror-focused"><div style="overflow: hidden; position: relative; width: 3px; height: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" style="position: absolute; padding: 0px; width: 1000px; height: 1em; outline: none; font-size: 4px;" tabindex="0"></textarea></div><div class="CodeMirror-hscrollbar"><div style="height: 1px;"></div></div><div class="CodeMirror-vscrollbar"><div style="width: 1px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="min-width: 33px;"><div style="position: relative;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre>&nbsp;<span style="display: inline-block; width: 1px; margin-right: -1px;">&nbsp;</span></pre></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"></div><div class="CodeMirror-cursor" style="visibility: hidden;">&nbsp;</div><div class="CodeMirror-cursor CodeMirror-secondarycursor" style="visibility: hidden;">&nbsp;</div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="display: none;"></div></div></div><div class="editor-statusbar"><span class="lines">0</span><span class="words">0</span><span class="cursor">0:0</span></div><div class="div_tags clearfix"><div id="divSearchTags" class="tags_con"><input type="text"></div><input type="hidden" name="txtSearchTags"></div><div id="ask2_tagRecomm_div" class="drt_tagRecomm tracking-ad" data-mod="popu_73"><span class="drt_tit">推荐标签：</span></div></div><div class="success"><div class="left_area"><input id="chk_cb" type="checkbox"><span class="wyxs">我要悬赏</span><input id="cb_num" class="cb_num" readonly="true"><span class="phib_rii"><span> 币</span></span></div><a href="http://blog.csdn.net/yixiaoping/article/details/9801397#" nodetype="cancel" class="cancel">取消</a><a href="http://blog.csdn.net/yixiaoping/article/details/9801397#" nodetype="ok" class="ok">发布</a></div></div><div id="common_ask_div_sc" class="searchContainer"><div class="sTitle">可能存在类似的问题：</div><div class="sFooter"><a class="sFirstNewAsk">我想提一个新问题</a></div></div><iframe src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/langchao-2lu-server-daohangtiaoxia-banner-960-90-30k.html" style="width: 1px; height: 1px; position: absolute; visibility: hidden;"></iframe><iframe src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/langchao-4lu-article-pip-300-250-30k.html" style="width: 1px; height: 1px; position: absolute; visibility: hidden;"></iframe><iframe src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/langchao-2lu-download-homepage-daohangtiaoxia-banner-728-90-30k.html" style="width: 1px; height: 1px; position: absolute; visibility: hidden;"></iframe><style type="text/css" id="xnSmartBarCacheCSSID">

.baiduServiceBottomBar.noDis{display:none !important}.baiduServiceBottomBar.iphoneDevice>ul.bottomBar>li .count{font-size:10px;line-height:12px;height:12px;padding:0px 2px;top:-3px;right:-8px;box-sizing:border-box;font-family:Arial, Helvetica, sans-serif;text-shadow:none;outline:none}.baiduServiceBottomBar.hackIFrame iframe{top:0px;-webkit-transform:translateZ(5px);transform:translateZ(5px)}.baiduServiceBottomBar{overflow:visible;line-height:1;border-top:1px solid #c0c0c0;position:fixed;z-index:10001;width:100%;bottom:0px;background-color:rgba(242,242,242,0.94);background-image:-moz-linear-gradient(rgba(248,248,248,0.94), rgba(242,242,242,0.94));background-image:-o-linear-gradient(rgba(248,248,248,0.94), rgba(242,242,242,0.94));background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(248,248,248,0.94)), color-stop(1, rgba(242,242,242,0.94)));background-image:-webkit-linear-gradient(rgba(248,248,248,0.94), rgba(242,242,242,0.94));background-image:-ms-linear-gradient(rgba(248,248,248,0.94), rgba(242,242,242,0.94));background-image:linear-gradient(rgba(248,248,248,0.94), rgba(242,242,242,0.94))}.baiduServiceBottomBar div{overflow:visible}.baiduServiceBottomBar div,.baiduServiceBottomBar span,.baiduServiceBottomBar object,.baiduServiceBottomBar iframe,.baiduServiceBottomBar h1,.baiduServiceBottomBar h2,.baiduServiceBottomBar h3,.baiduServiceBottomBar h4,.baiduServiceBottomBar h5,.baiduServiceBottomBar h6,.baiduServiceBottomBar p,.baiduServiceBottomBar a,.baiduServiceBottomBar em,.baiduServiceBottomBar img,.baiduServiceBottomBar b,.baiduServiceBottomBar i,.baiduServiceBottomBar dl,.baiduServiceBottomBar dt,.baiduServiceBottomBar dd,.baiduServiceBottomBar ol,.baiduServiceBottomBar ul,.baiduServiceBottomBar li,.baiduServiceBottomBar fieldset,.baiduServiceBottomBar form,.baiduServiceBottomBar label,.baiduServiceBottomBar table,.baiduServiceBottomBar caption,.baiduServiceBottomBar tbody,.baiduServiceBottomBar tfoot,.baiduServiceBottomBar thead,.baiduServiceBottomBar tr,.baiduServiceBottomBar th,.baiduServiceBottomBar td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline}.baiduServiceBottomBar p,.baiduServiceBottomBar div,.baiduServiceBottomBar h1,.baiduServiceBottomBar h2,.baiduServiceBottomBar h3,.baiduServiceBottomBar h4,.baiduServiceBottomBar h5,.baiduServiceBottomBar h6{-webkit-text-size-adjust:none}.baiduServiceBottomBar ul,.baiduServiceBottomBar li,.baiduServiceBottomBar a{vertical-align:middle}.baiduServiceBottomBar ol,.baiduServiceBottomBar ul{list-style:none;overflow:visible}.baiduServiceBottomBar .qingIcon{width:22px;height:22px;margin:10px auto;background-size:100% 100%}.baiduServiceBottomBar .qingBtn{width:48px;height:48px;background-color:#f8f8f8;border:1px solid #ddd}.baiduServiceBottomBar .qingIcon,.baiduServiceBottomBar .qingBtn{display:block}.baiduServiceBottomBar .baiduServiceBarFullScreanMask{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);-webkit-transform:scale(1);z-index:100000}.baiduServiceBottomBar .baiduServiceBarPopupContainer{position:fixed;z-index:100001;top:50%;left:50%;width:200px;height:225px;border-radius:5px;margin-left:-100px;margin-top:-125px;background:url("") 50% top #f8f8f8 no-repeat;background-size:105px 120px}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupClose{background-color:rgba(255,255,255,0);background-image:-moz-linear-gradient(#d0d0d0, rgba(255,255,255,0));background-image:-o-linear-gradient(#d0d0d0, rgba(255,255,255,0));background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #d0d0d0), color-stop(1, rgba(255,255,255,0)));background-image:-webkit-linear-gradient(#d0d0d0, rgba(255,255,255,0));background-image:-ms-linear-gradient(#d0d0d0, rgba(255,255,255,0));background-image:linear-gradient(#d0d0d0, rgba(255,255,255,0));position:absolute;right:30px;top:0;height:30px;width:1px;display:inline-block}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupClose:before,.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupClose:after{content:" ";position:absolute;right:-16px;top:7px;width:1px;height:12px;display:inline-block;background:#262626;-webkit-transform:rotateZ(45deg);transform:rotateZ(45deg)}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupClose:after{-webkit-transform:rotateZ(-45deg);transform:rotateZ(-45deg)}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupCloseBtn{position:absolute;right:0;top:0;height:30px;width:30px}.baiduServiceBottomBar .baiduServiceBarPopupContainer span{width:100%;text-align:center;display:inline-block;position:absolute;top:125px;font-size:16px;color:#666}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupInfo{top:150px;font-size:14px}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupBottomContainer{position:absolute;bottom:0;left:0;width:100%;height:44px;line-height:44px;background:#eee;font-size:16px;color:#262626;border:none;padding:0;border-radius:0 0 5px 5px;border-top:1px solid #d8d8d8}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupBottomContainer a{float:left;text-align:center;border:none;padding:0px;margin:0;padding-left:15px;display:inline-block;width:50%;height:42px}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupBottomContainer .baiduServiceBarPopupTel{background:url("") 27% 50% no-repeat;background-size:13px 15px}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupBottomContainer .baiduServiceBarPopupTel:only-child{background-position:40% 50%;width:100%}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupBottomContainer .baiduServiceBarPopupConsult{background:url("") 25% 50% no-repeat;background-size:14px 14px}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupBottomContainer .baiduServiceBarPopupConsult:only-child{background-position:40% 50%;width:100%}.baiduServiceBottomBar .baiduServiceBarPopupContainer .baiduServiceBarPopupBottomContainer .baiduServiceBarPopupTel+.baiduServiceBarPopupConsult{border-left:1px solid #d8d8d8}.baiduServiceBottomBar *{vertical-align:middle;box-sizing:border-box}.baiduServiceBottomBar .baidu-xn-pop-parent{position:relative}.baiduServiceBottomBar .baidu-xn-pop-container{position:absolute;bottom:100%;display:none;z-index:-90;width:113%;background-color:rgba(255,255,255,0.94);background-image:-moz-linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94));background-image:-o-linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94));background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(255,255,255,0.94)), color-stop(1, rgba(255,255,255,0.94)));background-image:-webkit-linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94));background-image:-ms-linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94));background-image:linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94));left:initial !important;margin-left:-7px;border:1px solid #c0c0c0;border-radius:2px;box-shadow:0px 0px 4px 1px rgba(0,0,0,0.12);margin-bottom:12px;-webkit-transform:scale(1)}.baiduServiceBottomBar .baidu-xn-pop-container ul,.baiduServiceBottomBar .baidu-xn-pop-container li{list-style:none}.baiduServiceBottomBar .baidu-xn-pop-container ul{padding:0px 9px;height:auto}.baiduServiceBottomBar .baidu-xn-pop-container ul>li:not(:last-of-type){border-bottom:1px solid #dddddd}.baiduServiceBottomBar .baidu-xn-pop-container li.vote{height:43px}.baiduServiceBottomBar .baidu-xn-pop-container ul>li{height:36px}.baiduServiceBottomBar .baidu-xn-pop-container ul>li a{padding:1px 0;font-size:14px}.baiduServiceBottomBar .baidu-xn-pop-container.show,.baiduServiceBottomBar .show>.baidu-xn-pop-container{display:block;z-index:-90}.baiduServiceBottomBar .noDis{display:none !important}.baiduServiceBottomBar a{text-decoration:none;color:#001526;background-color:transparent}.baiduServiceBottomBar>ul{display:-webkit-box;display:-ms-flexbox;display:-moz-box;display:box;width:100%;list-style-type:none;padding:0px;margin:0px;-webkit-box-pack:center;-webkit-box-align:center;box-pack:center;box-align:center;border:0 #fafafb solid;border-width:1px 0 0 1px}.baiduServiceBottomBar>ul>li{display:block;width:3em;-webkit-box-flex:1;flex:1;-ms-flex:1;-moz-box-flex:1;text-align:center;font-size:10px}.baiduServiceBottomBar>ul>li a{font-size:16px;padding:6px 0px 4px;display:inline-block;width:100%;line-height:34px;height:43px;text-align:center;border:0;-webkit-tap-highlight-color:transparent}.baiduServiceBottomBar>ul>li a p>span.text-char{text-shadow:0 1px #fff}.baiduServiceBottomBar>ul>li a:hover{border-color:transparent}.baiduServiceBottomBar>ul>li .icon{width:18px;height:18px;display:block;margin:0px auto 4px;background-size:100% 100%;vertical-align:middle;position:relative}.baiduServiceBottomBar>ul>li .count-outer{position:relative;width:auto;display:inline-block;line-height:inherit}.baiduServiceBottomBar>ul>li .count{background-color:#f43b3b;color:#fff;border-radius:1px;padding:0px 2px;position:absolute;font-size:10px;line-height:12px;height:12px;top:-3px;right:-10px;font-style:normal;text-shadow:none;outline:none}.baiduServiceBottomBar>ul>li .baidu-xn-pop-container .count{top:3px}.baiduServiceBottomBar>ul li.showMoreBtn{display:none;position:relative}.baiduServiceBottomBar>ul .comment .count{right:-9px}.baiduServiceBottomBar>ul .pop-tip{-webkit-transform:rotateZ(45deg);transform:rotateZ(45deg);width:6px;height:6px;z-index:300;top:-15px;left:-55%;position:absolute;border:1px solid #c0c0c0;background-color:rgba(255,255,255,0.94);display:none}.baiduServiceBottomBar>ul .pop-tip.align-right{margin-left:100%;border-left:0px;border-top:0px}@media only screen and (max-width: 400px){.baiduServiceBottomBar .show-more-buttons>li:nth-of-type(n+4),.baiduServiceBottomBar .show-more-buttons-lg>li:nth-of-type(n+4){display:none}.baiduServiceBottomBar .show-more-buttons>li.showMoreBtn,.baiduServiceBottomBar .show-more-buttons-lg>li.showMoreBtn{display:block}}@media only screen and (min-width: 400px) and (max-width: 480px){.baiduServiceBottomBar .show-more-buttons-lg>li:nth-of-type(n+5){display:none}.baiduServiceBottomBar .show-more-buttons-lg>li.showMoreBtn{display:block}}@media only screen and (max-device-width: 600px){.baiduServiceBottomBar #mobile-phone-detector{display:block}}.baiduServiceBottomBar [data-action=ecomBottomBar-vote]{position:relative}.baiduServiceBottomBar [data-action=ecomBottomBar-vote] .bd_vote{position:absolute;z-index:1;height:100%;width:100%;top:0px}.baiduServiceBottomBar [data-action=ecomBottomBar-vote] .text-char{display:inline-block;-webkit-transform:translateZ(0px);transform:translateZ(0px)}.baiduServiceBottomBar [data-action=ecomBottomBar-vote] .bd_vote iframe{position:relative}.baiduServiceBottomBar>ul.bottomBar>li:last-of-type .baidu-xn-pop-container{right:10px}.baiduServiceBottomBar>ul.bottomBar>li:first-of-type .baidu-xn-pop-container{left:8px !important;margin-left:0px}.baiduServiceBottomBar .baidu-xn-pop-parent:after{position:absolute;top:0px;left:50%;width:12px;height:3px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #c0c0c0;border-left:0px;border-right:0px;margin:6px 0px 6px -6px;content:""}.baiduServiceBottomBar .qingBtn{display:none}.baiduServiceBottomBar.showQingIconStyle.hideContent{border-top:transparent;width:auto}.baiduServiceBottomBar.showQingIconStyle.hideContent .qingBtn{display:block}.baiduServiceBottomBar.showQingIconStyle.hideContent .icon-container{display:none}.baiduServiceBottomBar.showQingIconStyle{display:-webkit-box;display:-ms-flexbox;display:-moz-box;-webkit-box-pack:center;-webkit-box-align:center;box-pack:center;box-align:center}.baiduServiceBottomBar.showQingIconStyle .qingBtn{display:block}.baiduServiceBottomBar.showQingIconStyle>ul.bottomBar>li:first-of-type .baidu-xn-pop-container{left:initial !important;margin-left:-10%}.baiduServiceBottomBar.showQingIconStyle [data-action=ecomBottomBar-showMore]{max-width:50px}.baiduServiceBottomBar.showQingIconStyle [data-action=ecomBottomBar-showMore] .baidu-xn-pop-container{width:180%}.baiduServiceBottomBar.showQingIconStyle [data-action=ecomBottomBar-showMore] .pop-tip.align-right{margin-left:120%}.baiduServiceBottomBar.showQingIconStyle.showContent{width:100%}.baiduServiceBottomBar.showQingIconStyle.showContent .qingBtn{border:1px solid transparent;border-right:1px solid #cdcdcd}.baiduServiceBottomBar.showQingIconStyle.showContent .icon-container{display:-webkit-box;display:-ms-flexbox;display:-moz-box;dislay:box;-webkit-box-flex:1;flex:1;-ms-flex:1;-moz-box-flex:1}.baiduServiceBottomBar.double-scale>ul.bottomBar>li a{line-height:68px;height:86px;font-size:32px;padding:12px 0 4px}.baiduServiceBottomBar.double-scale>ul.bottomBar>li .baidu-xn-pop-container{width:113%}.baiduServiceBottomBar.double-scale>ul.bottomBar>li .baidu-xn-pop-container ul{padding:0px 18px}.baiduServiceBottomBar.double-scale>ul.bottomBar>li .baidu-xn-pop-container ul>li{height:72px;line-height:60px;width:100%}.baiduServiceBottomBar.double-scale>ul.bottomBar>li .baidu-xn-pop-container ul>li a{padding:0px;line-height:72px;height:72px}.baiduServiceBottomBar.double-scale>ul.bottomBar>li .count{font-size:20px;line-height:20px;height:20px;padding:0 6px;top:6px;right:-20px;text-shadow:none;outline:none;border-radius:4px}.baiduServiceBottomBar.double-scale .baidu-xn-pop-parent:after{width:24px;height:6px;margin:12px 0 12px -12px;content:""}@media only screen and (max-width: 800px){.baiduServiceBottomBar.double-scale .show-more-buttons>li:nth-of-type(n+4),.baiduServiceBottomBar.double-scale .show-more-buttons-lg>li:nth-of-type(n+4){display:none}.baiduServiceBottomBar.double-scale .show-more-buttons>li.showMoreBtn,.baiduServiceBottomBar.double-scale .show-more-buttons-lg>li.showMoreBtn{display:block}}@media only screen and (min-width: 800px) and (max-width: 960px){.baiduServiceBottomBar.double-scale .show-more-buttons-lg>li:nth-of-type(n+5){display:none}.baiduServiceBottomBar.double-scale .show-more-buttons-lg>li.showMoreBtn{display:block}}.smb-user-guide-wrapper{position:fixed;z-index:9999;background:rgba(15,15,15,0.8);top:83px;width:238px;height:195px;left:50%;margin-left:-119px;border-radius:10px;font-size:14px;font-family:sans-serif}.smb-user-guide-wrapper .bg-pic{margin-top:24px;height:131px;background:url(//m.baidu.com/static/search/siteapp/lego/use_guide.png) center no-repeat;background-size:208px 131px}.smb-user-guide-wrapper .queryX{position:absolute;left:44px;top:90px}.smb-user-guide-wrapper .closeX{display:block;margin:8px auto;color:#fff;width:110px;height:25px;line-height:25px;text-align:center}.baiduServiceBarPopupShow .baiduServiceBarFullScreanMask,.baiduServiceBarPopupShow .baiduServiceBarPopupContainer{display:block}.baiduServiceBarFullScreanMask,.baiduServiceBarPopupContainer,.baiduServiceBarPopupHideLeft .baiduServiceBarFullScreanMask,.baiduServiceBarPopupHideRight .baiduServiceBarFullScreanMask{display:none}.baiduServiceBarPopupHideLeft .baiduServiceBarPopupContainer,.baiduServiceBarPopupHideRight .baiduServiceBarPopupContainer{animation-duration:1s;-webkit-animation-duration:1s;-webkit-animation-name:fadeOutDownRight;animation-name:fadeOutDownRight;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;transition:All 1s ease-in-out;-webkit-transition:All 1s ease-in-out}.baiduServiceBarPopupHideLeft .baiduServiceBarPopupContainer{-webkit-animation-name:fadeOutDownLeft;animation-name:fadeOutDownLeft}@-webkit-keyframes fadeOutDownLeft{0%{opacity:1}30%{opacity:.8;-webkit-transform:scale3d(0.1, 0.1, 0.1) translate3d(0, 0px, 0);transform:scale3d(0.1, 0.1, 0.1) translate3d(0, 0px, 0)}100%{opacity:0;top:100%;left:5%;-webkit-transform:rotate(45deg) scale3d(0.1, 0.1, 0.1)}}@keyframes fadeOutDownLeft{0%{opacity:1}30%{opacity:.8;-webkit-transform:scale3d(0.1, 0.1, 0.1) translate3d(0, 0px, 0);transform:scale3d(0.1, 0.1, 0.1) translate3d(0, 0px, 0)}100%{opacity:0;top:100%;left:5%;-webkit-transform:rotate(45deg) scale3d(0.1, 0.1, 0.1)}}@-webkit-keyframes fadeOutDownRight{0%{opacity:1}30%{opacity:.8;-webkit-transform:scale3d(0.1, 0.1, 0.1) translate3d(0, 0px, 0);transform:scale3d(0.1, 0.1, 0.1) translate3d(0, 0px, 0)}100%{opacity:0;top:100%;left:95%;-webkit-transform:rotate(-45deg) scale3d(0.1, 0.1, 0.1)}}@keyframes fadeOutDownRight{0%{opacity:1}30%{opacity:.8;-webkit-transform:scale3d(0.1, 0.1, 0.1) translate3d(0, 0px, 0);transform:scale3d(0.1, 0.1, 0.1) translate3d(0, 0px, 0)}100%{opacity:0;top:100%;left:95%;-webkit-transform:rotate(-45deg) scale3d(0.1, 0.1, 0.1)}}.baiduServiceBottomBar .bottomBar [data-action=ecomBottomBar-follow]{position:relative}.baiduServiceBottomBar .bottomBar [data-action=ecomBottomBar-follow] .bd_follow{background:transparent;position:absolute;width:100%;height:100%;top:0;left:0;z-index:2}.baiduServiceBottomBar .bottomBar [data-action=ecomBottomBar-follow] .bd_follow iframe{width:100%;height:100%;background:transparent}.baiduServiceBottomBar .bottomBar .ecomBottomBar-typek14 .cross-wrap{display:inline-block;width:15px;margin-right:4px}.baiduServiceBottomBar .bottomBar .ecomBottomBar-typek14 .cross-wrap .cross{display:inline-block;top:1px;background:#f43b3b;height:14px;position:relative;width:1px}.baiduServiceBottomBar .bottomBar .ecomBottomBar-typek14 .cross-wrap .cross:after{background:#f43b3b;content:"";height:1px;left:-7px;position:absolute;top:6px;width:15px}.baiduServiceBottomBar .bottomBar .ecomBottomBar-typek14 .text-char{color:#f43b3b}.baiduServiceBottomBar .bottomBar .ecomBottomBar-typek14 .text-char.followed{color:#999}.baiduServiceBottomBar .bottomBar .ecomBottomBar-typek4 .text-char.followed{color:#999}.baiduServiceBottomBar-toast-container{position:fixed;z-index:99999999;width:100%;bottom:50px;text-align:center}.baiduServiceBottomBar-toast-container .toast-text{min-width:40%;max-width:80%;overflow:hidden;word-break:break-all;word-wrap:nowrap;text-overflow:ellipsis;background-color:rgba(0,0,0,0.75);opacity:0;-webkit-transition:opacity 1s linear 0s;border-radius:5px;color:#fff;padding:10px;margin:0px auto;font-size:16px}.baiduServiceBottomBar-toast-container.show .toast-text{opacity:1}.baiduServiceBottomBar-toast-container.noDis{display:none !important}body,html{padding:0px;margin:0px}@font-face{font-family:bdServiceBarIconfont;src:url(data:application/x-font-ttf;charset=utf-8;base64,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LbA5LLAAFrAEJbAEJiAuRyNHI2GwBkUrIyA8IC4jOLEkARQrLbA6LLEJBCVCsAAWsAQlsAQlIC5HI0cjYSCwBCNCsAZFKyCwYFBYILBAUVizAiADIBuzAiYDGllCQiMgR7AEQ7CAYmAgsAArIIqKYSCwAkNgZCOwA0NhZFBYsAJDYRuwA0NgWbADJbCAYmGwAiVGYTgjIDwjOBshICBGI0ewACsjYTghWbEkARQrLbA7LLAuKy6xJAEUKy2wPCywLyshIyAgPLAEI0IjOLEkARQrsARDLrAkKy2wPSywABUgR7AAI0KyAAEBFRQTLrAqKi2wPiywABUgR7AAI0KyAAEBFRQTLrAqKi2wPyyxAAEUE7ArKi2wQCywLSotsEEssAAWRSMgLiBGiiNhOLEkARQrLbBCLLAJI0KwQSstsEMssgAAOistsEQssgABOistsEUssgEAOistsEYssgEBOistsEcssgAAOystsEgssgABOystsEkssgEAOystsEossgEBOystsEsssgAANystsEwssgABNystsE0ssgEANystsE4ssgEBNystsE8ssgAAOSstsFAssgABOSstsFEssgEAOSstsFIssgEBOSstsFMssgAAPCstsFQssgABPCstsFUssgEAPCstsFYssgEBPCstsFcssgAAOCstsFgssgABOCstsFkssgEAOCstsFossgEBOCstsFsssDArLrEkARQrLbBcLLAwK7A0Ky2wXSywMCuwNSstsF4ssAAWsDArsDYrLbBfLLAxKy6xJAEUKy2wYCywMSuwNCstsGEssDErsDUrLbBiLLAxK7A2Ky2wYyywMisusSQBFCstsGQssDIrsDQrLbBlLLAyK7A1Ky2wZiywMiuwNistsGcssDMrLrEkARQrLbBoLLAzK7A0Ky2waSywMyuwNSstsGossDMrsDYrLbBrLCuwCGWwAyRQeLABFTAtAABLuADIUlixAQGOWbkIAAgAYyCwASNEILADI3CwDkUgIEu4AA5RS7AGU1pYsDQbsChZYGYgilVYsAIlYbABRWMjYrACI0SzCgkFBCuzCgsFBCuzDg8FBCtZsgQoCUVSRLMKDQYEK7EGAUSxJAGIUViwQIhYsQYDRLEmAYhRWLgEAIhYsQYBRFlZWVm4Af+FsASNsQUARAAAAA==) format("truetype")}.baiduServiceBottomBar .list.bottomMenu{display:-webkit-box;display:-ms-flexbox;display:-moz-box;display:box;width:100%}.baiduServiceBottomBar .list.bottomMenu .item{-webkit-box-flex:1;flex:1;-ms-flex:1;-moz-box-flex:1;box-flex:1}.baiduServiceBottomBar .list.bottomMenu .item a{display:inline-block;width:100%;line-height:34px;height:44px;text-align:center;font-size:10px;color:#1a1f26}.baiduServiceBottomBar .list.bottomMenu .item a .text-char{line-height:10px}.baiduServiceBottomBar .list.bottomMenu a .icon{bottom:initial;right:initial;z-index:inherit;background:initial;position:relative;display:block;width:auto;margin-top:6px;margin-bottom:6px;height:17px;background-size:contain}.baiduServiceBottomBar .list.bottomMenu a .icon .icon-wrapper{position:relative;height:25px;width:25px;top:-10px;margin-left:auto;margin-right:auto}.baiduServiceBottomBar .list.bottomMenu a .icon .icon-wrapper div{line-height:34px}.baiduServiceBottomBar .bdServiceBarIconfont{font-family:"bdServiceBarIconfont" !important;font-size:24px;font-style:normal;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:0.2px;-moz-osx-font-smoothing:grayscale}.baiduServiceBottomBar .list.bottomMenu [data-action=ecomBottomBar-follow]{position:relative}.baiduServiceBottomBar .list.bottomMenu [data-action=ecomBottomBar-follow] .bd_follow{background:transparent;position:absolute;width:100%;height:100%;top:0;left:0;z-index:2}.baiduServiceBottomBar .list.bottomMenu [data-action=ecomBottomBar-follow] .bd_follow iframe{width:100%;height:100%;background:transparent}@-webkit-keyframes heartbeat{0%{-moz-transform:scale(0.8, 0.8);-webkit-transform:scale(0.8, 0.8);-o-transform:scale(0.8, 0.8);-ms-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8)}50%{-moz-transform:scale(1.2, 1.2);-webkit-transform:scale(1.2, 1.2);-o-transform:scale(1.2, 1.2);-ms-transform:scale(1.2, 1.2);transform:scale(1.2, 1.2)}100%{-moz-transform:scale(1, 1);-webkit-transform:scale(1, 1);-o-transform:scale(1, 1);-ms-transform:scale(1, 1);transform:scale(1, 1)}}.baiduServiceBottomBar .list.bottomMenu [data-action=ecomBottomBar-follow].strong .icon{-moz-animation-name:"heartbeat";-moz-animation-duration:600ms;-moz-animation-timing-function:linear;-moz-animation-delay:0s;-moz-animation-iteration-count:5;-moz-animation-direction:alternate;-ms-animation-name:"heartbeat";-ms-animation-duration:600ms;-ms-animation-timing-function:linear;-ms-animation-delay:0s;-ms-animation-iteration-count:5;-ms-animation-direction:alternate;-webkit-animation-name:"heartbeat";-webkit-animation-duration:600ms;-webkit-animation-timing-function:linear;-webkit-animation-delay:0s;-webkit-animation-iteration-count:5;-webkit-animation-direction:alternate;-o-animation-name:"heartbeat";-o-animation-duration:600ms;-o-animation-timing-function:linear;-o-animation-delay:0s;-o-animation-iteration-count:5;-o-animation-direction:alternate;animation-name:"heartbeat";animation-duration:600ms;animation-timing-function:linear;animation-delay:0s;animation-iteration-count:5;animation-direction:alternate}.baiduServiceBottomBar .baiduServiceBottomBar-notification{position:fixed;top:10px;width:100%;padding:8px 0px}.baiduServiceBottomBar .baiduServiceBottomBar-notification .message{display:-webkit-box;background:#fff;width:350px;margin:0px auto;text-decoration:none}.baiduServiceBottomBar .baiduServiceBottomBar-notification .message .left{width:134px;height:86px;margin-right:8px}.baiduServiceBottomBar .baiduServiceBottomBar-notification .message .left img{width:100%;height:100%}.baiduServiceBottomBar .baiduServiceBottomBar-notification .message .right{-webkit-box-flex:1;position:relative}.baiduServiceBottomBar .baiduServiceBottomBar-notification .message .right .title{display:-webkit-box;-webkit-line-clamp:1}.baiduServiceBottomBar .baiduServiceBottomBar-notification .message .right .desc{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-wrap:break-word}.baiduServiceBottomBar .baiduServiceBottomBar-notification .close{position:absolute;right:4px;top:4px}.baiduServiceBottomBar .baiduServiceBottomBar-notification.show{display:block}.baiduServiceBottomBar .baiduServiceBottomBar-notification.hide{display:none}.baiduServiceBottomMenu-toast-container{position:fixed;z-index:99999999;width:100%;bottom:60px;text-align:center}.baiduServiceBottomMenu-toast-container .wrapper{position:relative;box-sizing:border-box;height:36px;min-width:40%;max-width:95%;color:#fff;background-color:rgba(0,0,0,0.75);opacity:0;-webkit-transition:opacity 1s linear 0s;border-radius:5px;padding:10px;margin:0px auto;font-size:14px;line-height:16px;font-family:"Microsoft Yahei"}.baiduServiceBottomMenu-toast-container .wrapper .toast-text{display:inline-block;min-width:40%;width:100%;overflow:hidden;word-break:break-all;word-wrap:nowrap;text-overflow:ellipsis;text-align:center}.baiduServiceBottomMenu-toast-container .wrapper .toast-text a{color:#0078da;text-decoration:none}.baiduServiceBottomMenu-toast-container .wrapper .close{width:25px;height:25px;background-color:transparent;display:inline-block;position:absolute;right:4px;top:6px;fill:#72867b}.baiduServiceBottomMenu-toast-container .arrow{top:100%;left:10%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:transparent;border-top-color:rgba(0,0,0,0.75);border-width:8px 8px 8px 8px;margin-left:-8px;opacity:0;-webkit-transition:opacity 1s linear 0s}.baiduServiceBottomMenu-toast-container .left .arrow{left:10%}.baiduServiceBottomMenu-toast-container .right .arrow{left:88%}.baiduServiceBottomMenu-toast-container.show .wrapper{opacity:1}.baiduServiceBottomMenu-toast-container.show .arrow{opacity:1}.baiduServiceBottomMenu-toast-container.noDis{display:none !important}
/*# sourceMappingURL=index.css.map */

/**
 * 用于将 css 以内联 js 的形式插入到页面中去
 */
</style><div class="baiduServiceBottomBar noDis"><a class="qingBtn" data-action="ecomBottomBar-iconBtn" onclick="javascript:void(0);"><i class="qingIcon"></i></a><ul class="showCount-4 icon-container bottomBar"><li><a data-action="ecomBottomBar-follow" onclick="javascript:void(0);" class="ecomBottomBar-typek14"><p class="count-outer"><span class="text-char  "><span class="cross-wrap"><span class="cross"></span></span>关注</span><span class="count noDis"></span></p><div class="bd_follow"><iframe src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/follow.html" id="follow144912972785196"></iframe></div></a></li><li><a data-action="ecomBottomBar-comment" onclick="javascript:void(0);" class="hackTJMark ecomBottomBar-typeACTION"><p class="count-outer"><span class="text-char  ">评价</span><span class="count noDis"></span></p></a></li><li><a data-action="qingBottomBarShare" onclick="javascript:void(0);" class="ecomBottomBar-typek3"><p class="count-outer"><span class="text-char  ">分享</span><span class="count noDis"></span></p></a></li><li><a data-action="ecomBottomBar-vote" onclick="javascript:void(0);" class="ecomBottomBar-typek6"><p class="count-outer"><span class="text-char  ">赞</span><span class="count noDis"></span></p><div class="bd_vote" data-inited="1"><iframe id="vote14491297281589" style="border: none; width: 100%; height: 100%; display: block;" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/like.html"></iframe></div></a></li><li class="showMoreBtn baidu-xn-pop-parent" data-action="ecomBottomBar-showMore"><a onclick="javascript:void(0);">更多</a><div class="noDis"><div class="baidu-xn-pop-container"><div class="pop-content"><ul></ul></div></div><div class="pop-tip align-right"></div></div></li></ul><!-- hack form mobile phone detect --><span id="mobile-phone-detector"></span></div><script type="text/javascript" charset="utf-8" src="./H2数据库使用 - yixiaoping的专栏 - 博客频道 - CSDN.NET_files/vote.js" async=""></script><iframe id="google_osd_static_frame_3859069538302" name="google_osd_static_frame" style="display: none; width: 0px; height: 0px;"></iframe></body></html>